public class PushUpdateException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
PushUpdateException(int errorCode)
Used by Lightstreamer to create a PushUpdateException.
|
PushUpdateException(int errorCode,
java.lang.String extraMsg)
Used by Lightstreamer to create a PushUpdateException.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Gets the error code for the error condition.
|
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
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.