|
|||||||||
| 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.ItemException
public class ItemException
Notifies an error in the configuration of an Item.
| Field Summary | |
|---|---|
static int |
BUFFER_SIZE_UNEXPECTED
Indicates an attempt to set a maximum ItemEventBuffer buffer size for an Item that doesn't support buffer resizing. |
static int |
MAX_FREQUENCY_UNEXPECTED
Indicates an attempt to set a maximum Update frequency for an Item that doesn't support frequency setting. |
static int |
MAX_SNAPSHOT_UNEXPECTED
Indicates an attempt to set a Snapshot length for an Item that doesn't support Snapshot sizing. |
static int |
NULL_MODE
Indicates an attempt to set a null mode for the Item. |
static int |
NULL_NAME
Indicates an attempt to set a null name for the Item. |
static int |
RECOVERY_DELAY_UNEXPECTED
Indicates an attempt to set a null mode for the Item. |
static int |
UNFILTERED_UNEXPECTED
Indicates an attempt to request unfiltered dispatching for an Item that doesn't support filtering/unfiltering setting. |
static int |
WRONG_MODE
Indicates an attempt to set an unexistent mode for the Item. |
| Constructor Summary | |
|---|---|
ItemException(int errorCode)
Used by Lightstreamer to create an ItemException. |
|
| 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 WRONG_MODE
public static final int BUFFER_SIZE_UNEXPECTED
public static final int MAX_FREQUENCY_UNEXPECTED
public static final int MAX_SNAPSHOT_UNEXPECTED
public static final int NULL_NAME
public static final int NULL_MODE
public static final int RECOVERY_DELAY_UNEXPECTED
public static final int UNFILTERED_UNEXPECTED
| Constructor Detail |
|---|
public ItemException(int errorCode)
errorCode - an integer code to be chosen from the constants
defined in the class.| Method Detail |
|---|
public int getErrorCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||