public class AbendException extends CicsRuntimeException
Class that provides a Java exception that corresponds to a CICS ABEND. As this class extends CicsRuntimeException it is an unchecked exception and therefore it does not have to be declared in all of the API methods.
Constructor and Description |
---|
AbendException(java.lang.String message,
java.lang.String abendCode,
java.lang.Throwable cause)
Allows the creation of this exception with an abend code
JCICS applications are not expected to use this method
unless the caller is unit test code.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getABCODE()
Return the particular ABEND code associated with an
AbendException . |
setRootCause
public AbendException(java.lang.String message, java.lang.String abendCode, java.lang.Throwable cause)
message
- The exception message.abendCode
- The abend code.cause
- The original cause of the problem