com.ibm.ctg.client

Class TFileException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.io.IOException
          • com.ibm.ctg.client.TFileException
  • All Implemented Interfaces:
    TFileReturnCodes, java.io.Serializable


    public class TFileException
    extends java.io.IOException
    implements TFileReturnCodes
    This exception is thrown by the T class when an error occurs.
    • Constructor Summary

      Constructors 
      Constructor and Description
      TFileException(int tfileRc)
      Creates a new TFileException with a null message and the specified return code.
      TFileException(java.lang.String message, int tfileRc)
      Creates a new TFileException with the specified message and return code.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getRc()
      Gets the return code indicating the reason the exception was thrown.
      java.lang.String toString()
      Returns a string representation of this exception
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TFileException

        public TFileException(int tfileRc)
        Creates a new TFileException with a null message and the specified return code.
        Parameters:
        tfileRc - The exception return code
      • TFileException

        public TFileException(java.lang.String message,
                      int tfileRc)
        Creates a new TFileException with the specified message and return code.
        Parameters:
        message - The exception message
        tfileRc - The exception return code
    • Method Detail

      • getRc

        public int getRc()
        Gets the return code indicating the reason the exception was thrown. Possible return codes are listed in TFileReturnCodes
        Returns:
        The exception return code
      • toString

        public java.lang.String toString()
        Returns a string representation of this exception
        Overrides:
        toString in class java.lang.Throwable
        Returns:
        A string containing the exception message and return code
©Copyright IBM Corp. 1994, 2012
Legal