public class CicsUnexpectedRuntimeException extends CicsRuntimeException
CicsResponseConditionException
in that it
has a resp, resp2 and responseCode to identify what the problem actually is,
and the message within the exception has those values rendered into a readable
manner also.CicsResponseConditionException
,
Serialized FormConstructor and Description |
---|
CicsUnexpectedRuntimeException(java.lang.String message,
int resp,
int resp2,
byte[] responseCode,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMessage()
Get the Exception message including the RESP and RESP2 values
|
int |
getResp() |
int |
getResp2() |
byte[] |
getResponseCode() |
int |
hashCode() |
setRootCause
public CicsUnexpectedRuntimeException(java.lang.String message, int resp, int resp2, byte[] responseCode, java.lang.Throwable cause)
message
- The basic message indicating what has gone wrong.resp
- A code, indicating the primary cause of the issue.resp2
- A clarification code, indicating in more detail what the cause
of the issue is.responseCode
- Optional further clarification information to accompany
this error reporting object. May be null.cause
- The optional cause of the exception, if the cause was itself
a throwable. May be null.public byte[] getResponseCode()
public int getResp()
public int getResp2()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
Throwable.getMessage()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object