public class CICSConditionIOException
extends java.io.IOException
Exception class representing a failure when executing an 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().
This class extends IOException and is thrown by InputStream
and OutputStream implementations returned by Containers. It
is used to adapt a CICSConditionException to the IOException mandated
by the implemented interfaces. The underlying CICSConditionException is
accessible using getCause().
| Constructor and Description |
|---|
CICSConditionIOException(CICSConditionException e)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
CICSConditionException |
getCause() |
java.lang.String |
getMessage()
Get the message for this exception
|
int |
getResp2()
Get the CICS RESP2 code associated with this
Exception |
RespCode |
getRespCode()
Get the CICS RESP code associated with this
Exception |
public CICSConditionIOException(CICSConditionException e)
e - The cause CICSConditionException exceptionpublic CICSConditionException getCause()
getCause in class java.lang.Throwablepublic RespCode getRespCode()
Exceptionpublic int getResp2()
Exceptionpublic java.lang.String getMessage()
getMessage in class java.lang.Throwable