All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.as400.access.ConnectionDroppedException
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 AS/400 connection was dropped unexpectedly.
-
COMMUNICATIONS_ERROR
- The return code indicating that an error occurred in communications.
-
CONNECTION_DROPPED
- The return code indicating that the connection was dropped unexpectedly.
-
CONNECTION_NOT_ACTIVE
- The return code indicating that the connection is not active.
-
DISCONNECT_RECEIVED
- The return code indicating that disconnect was received.
-
getReturnCode()
- Returns the return code associated with this exception.
COMMUNICATIONS_ERROR
public static final int COMMUNICATIONS_ERROR
- The return code indicating that an error occurred in communications.
CONNECTION_DROPPED
public static final int CONNECTION_DROPPED
- The return code indicating that the connection was dropped unexpectedly.
CONNECTION_NOT_ACTIVE
public static final int CONNECTION_NOT_ACTIVE
- The return code indicating that the connection is not active.
DISCONNECT_RECEIVED
public static final int DISCONNECT_RECEIVED
- The return code indicating that disconnect was received.
getReturnCode
public int getReturnCode()
- Returns the return code associated with this exception.
- Returns:
- The return code.
All Packages Class Hierarchy This Package Previous Next Index