|
|||||||||
| 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_client.PushServerException
public class PushServerException
Thrown in case of an unexpected answer or error condition received from Lightstreamer Server. A detailed error code is supplied, to support automatic recovery actions. It can be received both in a synchronous and an asynchronous way. In normal operation, this exception should never be received.
| Field Summary | |
|---|---|
static int |
FIELDS_ERROR
Indicates that an update has been received with an unexpected number of field values. |
static int |
ITEMS_ERROR
Indicates that an update has been received with an unexpected item number. |
static int |
NO_ANSWER
Indicates an empty output from the Server. |
static int |
PROTOCOL_ERROR
Indicates a Server answer not consistent with the requests. |
static int |
RECONNECTION_TIMEOUT
Indicates that an attempt to reconnect to a session has not received any answer for longer than a configurable timeout time. |
static int |
SERVER_REFUSAL
Indicates that a connection request has been refused by the Server because of limitations imposed on the server side. |
static int |
SERVER_TIMEOUT
Indicates that the Server has not sent data updates or probes on the connection for longer than a configurable timeout time. |
static int |
SYNC_ERROR
Indicates that the connection content length has been consumed but the binding to the same session with a new connection has failed. |
static int |
SYNTAX_ERROR
Indicates an illegal output from the Server. |
static int |
TABLE_ERROR
Indicates that an update has been received with an unexpected window number. |
static int |
UNEXPECTED_END
Indicates that the Server connection ended in the handshaking phase. |
static int |
UNEXPECTED_ERROR
Indicates an unexpected exception in the client. |
| Method Summary | |
|---|---|
int |
getErrorCode()
Returns the detailed error code, to support automatic recovery actions. |
| 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 TABLE_ERROR
public static final int ITEMS_ERROR
public static final int FIELDS_ERROR
public static final int UNEXPECTED_END
public static final int SYNTAX_ERROR
public static final int NO_ANSWER
public static final int PROTOCOL_ERROR
public static final int SYNC_ERROR
public static final int SERVER_REFUSAL
public static final int SERVER_TIMEOUT
public static final int RECONNECTION_TIMEOUT
public static final int UNEXPECTED_ERROR
| Method Detail |
|---|
public int getErrorCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||