|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException com.ibm.as400.access.ConnectionDroppedException
public class ConnectionDroppedException extends IOException implements ReturnCodeException
The ConnectionDroppedException class represents an exception that indicates that the connection to the system was dropped unexpectedly.
Modifier and Type | Field and Description |
---|---|
static int |
COMMUNICATIONS_ERROR
The return code indicating that an error occurred in communications. |
static int |
CONNECTION_DROPPED
The return code indicating that the connection was dropped unexpectedly. |
static int |
CONNECTION_NOT_ACTIVE
The return code indicating that the connection is not active. |
static int |
DISCONNECT_RECEIVED
The return code indicating that disconnect was received. |
Modifier and Type | Method and Description |
---|---|
int |
getReturnCode()
Returns the return code associated with this exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int COMMUNICATIONS_ERROR
public static final int CONNECTION_DROPPED
public static final int CONNECTION_NOT_ACTIVE
public static final int DISCONNECT_RECEIVED
Method Detail |
---|
public int getReturnCode()
getReturnCode
in interface ReturnCodeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |