ReturnCodeException
, Serializable
public class ConnectionDroppedException extends IOException implements ReturnCodeException
Modifier and Type | Field | 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 | Description |
---|---|---|
int |
getReturnCode() |
Returns the return code associated with this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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
public int getReturnCode()
getReturnCode
in interface ReturnCodeException
Copyright © 2024. All rights reserved.