com.ibm.cics.server

Class CicsConditionException

    • Constructor Summary

      Constructors 
      Constructor and Description
      CicsConditionException(java.lang.String message, com.ibm.cics.server.CicsConditionException.RESPCODE respCode, int resp2, java.lang.Throwable cause)
      Constructor used when a condition is detected in the base product and there is no descriptive comment supplied.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getMessage()
      Get the Exception message including the RESP and RESP2 values
      int getRESP()
      Return the RESP value for the CICS Condition represented by the CicsConditionException.
      int getRESP2()
      Return the RESP2 value for the CICS Condition represented by the CicsConditionException.
      • Methods inherited from class java.lang.Throwable

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

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

      • CicsConditionException

        public CicsConditionException(java.lang.String message,
                                      com.ibm.cics.server.CicsConditionException.RESPCODE respCode,
                                      int resp2,
                                      java.lang.Throwable cause)
        Constructor used when a condition is detected in the base product and there is no descriptive comment supplied. The RESP2 value is queried from the base product.
        Parameters:
        respCode - the response code
        cause - The original reason for the failure.
        message - A textual message associated with the problem.
        resp2 - A secondary error code associated with the problem.
        Since CICS TS version:
        6.1
        Since package version:
        1.900.0
    • Method Detail

      • getRESP

        public int getRESP()
        Return the RESP value for the CICS Condition represented by the CicsConditionException.
        Returns:
        RESP value.
        Since CICS TS version:
        5.2
        Since package version:
        1.500.0
      • getRESP2

        public int getRESP2()
        Return the RESP2 value for the CICS Condition represented by the CicsConditionException.

        The RESP2 contains more detailed information that may help explain why a particular CicsConditionException occurred. This field contains meaningful values, as documented in the CICS APRM for each command to which it applies. For requests to remote files, RESP2 contains zeros.

        Returns:
        RESP2 value.
        Since CICS TS version:
        1.3
        Since package version:
        1.0.0
      • getMessage

        public java.lang.String getMessage()
        Get the Exception message including the RESP and RESP2 values
        Overrides:
        getMessage in class java.lang.Throwable
        Returns:
        String - the Exception message
        See Also:
        Throwable.getMessage()
        Since CICS TS version:
        5.2
        Since package version:
        1.100.0