|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.lightstreamer.ls_proxy.ConnectionException
public class ConnectionException
Notifies an internal problem that prevents a connection operation.
| Field Summary | |
|---|---|
static int |
ANSWER_TIMEOUT
Indicates an application timeout while reading the answer from the Server. |
static int |
GIVEN_UP
Indicates that a pending connection request has been interrupted by a subsequent request. |
static int |
INCOMPATIBLE_REQUEST
Indicates that a connection with incompatible parameters is active and an explicit disconnection should be performed. |
static int |
OBSOLETE_REQUEST
Indicates that a subsequent request has prevented the satisfaction of this request. |
static int |
SERVER_TIMEOUT
Indicates an application timeout in the connection to the Server. |
static int |
UNEXPECTED_ERROR
Indicates an unexpected error condition while trying to satisfy a connection request. |
| Constructor Summary | |
|---|---|
ConnectionException(int errorCode)
Used by Lightstreamer to create a ConnectionException. |
|
ConnectionException(int errorCode,
java.lang.String extraMsg)
Used by Lightstreamer to create a ConnectionException. |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
Gets the error code for the error condition. |
| 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 SERVER_TIMEOUT
public static final int GIVEN_UP
public static final int OBSOLETE_REQUEST
public static final int ANSWER_TIMEOUT
public static final int INCOMPATIBLE_REQUEST
public static final int UNEXPECTED_ERROR
| Constructor Detail |
|---|
public ConnectionException(int errorCode)
errorCode - an integer code to be chosen from the constants
defined in the class.
public ConnectionException(int errorCode,
java.lang.String extraMsg)
errorCode - an integer code to be chosen from the constants
defined in the class.extraMsg - a detailed information for the error.| Method Detail |
|---|
public int getErrorCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||