public class

XSException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.apache.xerces.xs.XSException

Class Overview

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.

Summary

Constants
short INDEX_SIZE_ERR If index or size is negative, or greater than the allowed value
short NOT_SUPPORTED_ERR If the implementation does not support the requested type of object or operation.
Fields
public short code
Public Constructors
XSException(short code, String message)
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Constants

public static final short INDEX_SIZE_ERR

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

Constant Value: 2 (0x00000002)

public static final short NOT_SUPPORTED_ERR

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

Constant Value: 1 (0x00000001)

Fields

public short code

Public Constructors

public XSException (short code, String message)