Implementations should raise other exceptions under other circumstances.
Some languages and object systems do not support the concept of exceptions. For such systems, error conditions may be indicated using native error reporting mechanisms. For some bindings, for example, methods may return error codes similar to those listed in the corresponding method descriptions.
Modifier and Type | Field and Description |
---|---|
public short | |
public static final short | INDEX_SIZE_ERR
If index or size is negative, or greater than the allowed value |
public static final short | NOT_SUPPORTED_ERR
If the implementation does not support the requested type of object or operation. |
pack-priv static final long | serialVersionUID
Serialization version.
|
Access | Constructor and Description |
---|---|
public |
code | back to summary |
---|---|
public short code |
INDEX_SIZE_ERR | back to summary |
---|---|
public static final short INDEX_SIZE_ERR If index or size is negative, or greater than the allowed value |
NOT_SUPPORTED_ERR | back to summary |
---|---|
public static final short NOT_SUPPORTED_ERR If the implementation does not support the requested type of object or operation. |
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID Hides java. Serialization version. |
XSException | back to summary |
---|---|
public XSException(short code, String message) |