Top Description Fields Constructors
com.sun.org.apache.xerces.internal.xs

public Class XSException

extends RuntimeException
Class Inheritance

The XML Schema API operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable).

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.

Field Summary

Modifier and TypeField 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

Constructor Summary

AccessConstructor and Description
public
XSException(short code, String message)

Field Detail

codeback to summary
public short code
INDEX_SIZE_ERRback to summary
public static final short INDEX_SIZE_ERR

If index or size is negative, or greater than the allowed value

NOT_SUPPORTED_ERRback to summary
public static final short NOT_SUPPORTED_ERR

If the implementation does not support the requested type of object or operation.

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Serialization version.

Constructor Detail

XSExceptionback to summary
public XSException(short code, String message)