public class XSException extends RuntimeException
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 |
---|---|
short |
code |
static short |
INDEX_SIZE_ERR
If index or size is negative, or greater than the allowed value
|
static short |
NOT_SUPPORTED_ERR
If the implementation does not support the requested type of object or
operation.
|
Constructor and Description |
---|
XSException(short code,
String message) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public short code
public static final short NOT_SUPPORTED_ERR
public static final short INDEX_SIZE_ERR
public XSException(short code, String message)
Copyright © 2017 JBoss by Red Hat. All rights reserved.