com.ibm.cics.jcicsx

Class CICSConditionRuntimeException

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


    public class CICSConditionRuntimeException
    extends java.lang.RuntimeException
    A runtime exception to handle CICS Response Exceptions for overriding methods that can?t have checked exceptions
    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
      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, 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

      • CICSConditionRuntimeException

        public CICSConditionRuntimeException(RespCode respCode,
                                             int resp2)
        Constructor
        Parameters:
        respCode - the CICS RESP code
        resp2 - the CICS RESP2 code
      • CICSConditionRuntimeException

        public CICSConditionRuntimeException(RespCode respCode,
                                             int resp2,
                                             java.lang.Throwable cause)
        Constructor
        Parameters:
        respCode - the CICS RESP code
        resp2 - the CICS RESP2 code
        cause - a cause exception
    • 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