org.relaxng.datatype
Class DatatypeException
Exception
org.relaxng.datatype.DatatypeException
public class DatatypeException
extends Exception
Signals Datatype related exceptions.
int | getIndex() - Gets the index of the content where the error occured.
|
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)
DatatypeException
public DatatypeException(int index,
String msg)
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.