com.ibm.cics.jcicsx

Class CICSConditionIOException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.io.IOException
          • com.ibm.cics.jcicsx.CICSConditionIOException
  • All Implemented Interfaces:
    java.io.Serializable


    public class CICSConditionIOException
    extends java.io.IOException

    Exception class representing a failure when executing an EXEC CICS API command. Failures will have an associated RespCode corresponding to the CICS RESP and a integer RESP2 value. These are accessible through getRespCode() and getResp2().

    This class extends IOException and is thrown by InputStream and OutputStream implementations returned by Containers. It is used to adapt a CICSConditionException to the IOException mandated by the implemented interfaces. The underlying CICSConditionException is accessible using getCause().

    See Also:
    Serialized Form
    Since CICS TS version:
    5.6
    Since package version:
    1.000.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      CICSConditionException getCause()
      java.lang.String getMessage()
      Get the message for this exception
      int getResp2()
      Get the CICS RESP2 code associated with this Exception
      RespCode getRespCode()
      Get the CICS RESP code associated with this Exception
      • Methods inherited from class java.lang.Throwable

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

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

      • getRespCode

        public RespCode getRespCode()
        Get the CICS RESP code associated with this Exception
        Returns:
        the CICS RESP code
      • getResp2

        public int getResp2()
        Get the CICS RESP2 code associated with this Exception
        Returns:
        the CICS RESP2 code
      • getMessage

        public java.lang.String getMessage()
        Get the message for this exception
        Overrides:
        getMessage in class java.lang.Throwable
        Returns:
        A message containing the CICS RESP and RESP2 code