|
|||||||||
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.RequestException
public class RequestException
Notifies an error that prevents a subscription or unsubscription request from being accomplished. The error refers to only one of the Items involved in the request and does not affect operations on the other Items.
Field Summary | |
---|---|
static int |
EXTENSION_NOT_ALLOWED
Indicates an attempt to share subscription requests on the Item when the new schema extends the current one and the Item is not a MERGE Item. |
static int |
FIELD_NOT_FOUND
Indicates an incorrect unsubscribe request, in which some of the supplied fields are not currently subscribed for the supplied listener. |
static int |
ITEM_NOT_FOUND
Indicates an incorrect unsubscribe request, in which the supplied Item is not currently subscribed. |
static int |
LISTENER_NOT_FOUND
Indicates an incorrect unsubscribe request, in which the supplied listener is not currently subscribed. |
static int |
REENTRANCE
Indicates a reentrant subscription or unsubscription request on the Item. |
static int |
REQUIRED_FIELD_MISSING
Indicates an incorrect subscribe or unsubscribe request, by which a required field is no longer subscribed. |
static int |
SCHEMA_ERROR
Indicates an incorrect unsubscribe request, in which the supplied schema doesn't match with the currently subscribed Fields for the supplied listener. |
Constructor Summary | |
---|---|
RequestException(int errorCode)
Used by Lightstreamer to create a RequestException. |
|
RequestException(int errorCode,
java.lang.String extraMsg)
Used by Lightstreamer to create a RequestException. |
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 REENTRANCE
public static final int EXTENSION_NOT_ALLOWED
public static final int FIELD_NOT_FOUND
public static final int LISTENER_NOT_FOUND
public static final int SCHEMA_ERROR
public static final int ITEM_NOT_FOUND
public static final int REQUIRED_FIELD_MISSING
Constructor Detail |
---|
public RequestException(int errorCode)
errorCode
- an integer code to be chosen from the constants
defined in the class.public RequestException(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 |