Package org.relaxng.datatype
Class DatatypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.relaxng.datatype.DatatypeException
-
- All Implemented Interfaces:
java.io.Serializable
public class DatatypeException extends java.lang.Exception
Signals Datatype related exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatatypeException()
A constructor for those datatype libraries which don't support any diagnostic information at all.DatatypeException(int index, java.lang.String msg)
DatatypeException(java.lang.String msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
Gets the index of the content where the error occured.
-
-
-
Field Detail
-
index
private final int index
-
UNKNOWN
public static final int UNKNOWN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DatatypeException
public DatatypeException(int index, java.lang.String msg)
-
DatatypeException
public DatatypeException(java.lang.String msg)
-
DatatypeException
public DatatypeException()
A constructor for those datatype libraries which don't support any diagnostic information at all.
-
-