org.relaxng.datatype
Class DatatypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.relaxng.datatype.DatatypeException
All Implemented Interfaces:
Serializable

public class DatatypeException
extends Exception

Disabled: no SafeJ information.

Signals Datatype related exceptions.

See Also:
Serialized Form

Field Summary
static int UNKNOWN
           
 
Constructor Summary
DatatypeException()
          A constructor for those datatype libraries which don't support any diagnostic information at all.
DatatypeException(int index, String msg)
           
DatatypeException(String msg)
           
 
Method Summary
 int getIndex()
          Gets the index of the content where the error occured.
 
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

UNKNOWN

public static final int UNKNOWN
Class is disabled.

See Also:
Constant Field Values
Constructor Detail

DatatypeException

public DatatypeException(int index,
                         String msg)
Class is disabled.


DatatypeException

public DatatypeException(String msg)
Class is disabled.


DatatypeException

public DatatypeException()
Class is disabled.

A constructor for those datatype libraries which don't support any diagnostic information at all.

Method Detail

getIndex

public int getIndex()
Class is disabled.

Gets the index of the content where the error occured. UNKNOWN can be returned to indicate that no index information is available.