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.
Task.forceAbend()
,
Serialized FormConstructor 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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getABCODE()
Return the particular ABEND code associated with an
AbendCancelException . |
setRootCause
public AbendCancelException(java.lang.String message, java.lang.String abendCode, java.lang.Throwable cause)
message
- The exception message.abendCode
- The abend code.cause
- The original cause for the failure, or null if not known.