com.ibm.cics.server

Class AbendCancelException

  • All Implemented Interfaces:
    java.io.Serializable


    public class AbendCancelException
    extends CicsRuntimeException

    Provides a Java exception that corresponds to a CICS ABEND CANCEL. As this class extends CicsRuntimeException it is an unchecked exception and therefore it does not have to be declared. It is only used to represent an ABEND CANCEL that has been issued by a program in another language or to support the Task.forceAbend() method.

    See Also:
    Task.forceAbend(), Serialized Form
    Since CICS TS version:
    1.3
    Since package version:
    1.0.0
    • Constructor Summary

      Constructors 
      Constructor and Description
      AbendCancelException(java.lang.String message, java.lang.String abendCode, java.lang.Throwable cause)
      Allows the creation of this exception with an abend code JCICS applications would not be expected to create such exceptions unless during unit testing.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getABCODE()
      Return the particular ABEND code associated with an AbendCancelException.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

      • AbendCancelException

        public AbendCancelException(java.lang.String message,
                                    java.lang.String abendCode,
                                    java.lang.Throwable cause)
        Allows the creation of this exception with an abend code JCICS applications would not be expected to create such exceptions unless during unit testing.
        Parameters:
        message - The exception message.
        abendCode - The abend code.
        cause - The original cause for the failure, or null if not known.
        Since CICS TS version:
        6.1
        Since package version:
        1.900.0
    • Method Detail

      • getABCODE

        public java.lang.String getABCODE()
        Return the particular ABEND code associated with an AbendCancelException.
        Returns:
        the string that corresponds to the ABCODE.
        Since CICS TS version:
        1.3
        Since package version:
        1.0.0