public class CICSConditionException
extends java.lang.Exception
EXEC CICS
API command. Failures will have an associated RespCode corresponding
to the CICS RESP and a integer RESP2 value. These are
accessible through getRespCode() and getResp2().| Constructor and Description |
|---|
CICSConditionException(RespCode respCode,
int resp2)
Constructor
|
CICSConditionException(RespCode respCode,
int resp2,
java.lang.Throwable cause)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage() |
int |
getResp2()
Get the CICS RESP2 code associated with this
Exception |
RespCode |
getRespCode()
Get the CICS RESP code associated with this
Exception |
public CICSConditionException(RespCode respCode, int resp2)
respCode - the CICS RESP coderesp2 - the CICS RESP2 codepublic CICSConditionException(RespCode respCode, int resp2, java.lang.Throwable cause)
respCode - the CICS RESP coderesp2 - the CICS RESP2 codecause - a cause Throwablepublic RespCode getRespCode()
Exceptionpublic int getResp2()
Exceptionpublic java.lang.String getMessage()
getMessage in class java.lang.Throwable