|
|||||||||
| 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.PushUpdateException
public class PushUpdateException
Notifies an asynchronous error caused by unexpected data values coming from Lightstreamer Server.
| Field Summary | |
|---|---|
static int |
EVENTS_FLOW_RESTARTED
Indicates an interruption in the events flow such that the flow may restart before or after the last event received. |
static int |
POSSIBLE_LOSS_OF_EVENTS
Indicates that a hole in events flow could be happened; in such case, the flow could not be recovered. |
static int |
REQUIRED_FIELD_NULL
Indicates that a required field has been received null from the Server. |
static int |
UNEXPECTED_EOS
Indicates that an unexpected end of snapshot notification has been received from the Server. |
| Constructor Summary | |
|---|---|
PushUpdateException(int errorCode)
Used by Lightstreamer to create a PushUpdateException. |
|
PushUpdateException(int errorCode,
java.lang.String extraMsg)
Used by Lightstreamer to create a PushUpdateException. |
|
| 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 REQUIRED_FIELD_NULL
public static final int POSSIBLE_LOSS_OF_EVENTS
public static final int EVENTS_FLOW_RESTARTED
public static final int UNEXPECTED_EOS
| Constructor Detail |
|---|
public PushUpdateException(int errorCode)
errorCode - an integer code to be chosen from the constants
defined in the class.
public PushUpdateException(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 | ||||||||