org.relaxng.datatype
Class DatatypeException
- Serializable
Signals Datatype related exceptions.
int | getIndex() - Gets the index of the content where the error occured.
|
fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
UNKNOWN
public static final int UNKNOWN
DatatypeException
public DatatypeException()
A constructor for those datatype libraries which don't support any
diagnostic information at all.
DatatypeException
public DatatypeException(String msg)
Create an exception with a message. The cause remains uninitialized.
getIndex
public int getIndex()
Gets the index of the content where the error occured.
UNKNOWN can be returned to indicate that no index information
is available.