public class CicsConditionException extends CicsException
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.
|
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 . |
setRootCause
public CicsConditionException(java.lang.String message, com.ibm.cics.server.CicsConditionException.RESPCODE respCode, int resp2, java.lang.Throwable cause)
respCode
- the response codecause
- The original reason for the failure.message
- A textual message associated with the problem.resp2
- A secondary error code associated with the problem.public int getRESP()
CicsConditionException
.public int getRESP2()
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.
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
Throwable.getMessage()