Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.relaxng.datatype.DatatypeException
public class DatatypeException
extends Exception
Field Summary | |
static int |
Constructor Summary | |
| |
| |
|
Method Summary | |
int |
|
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 , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public DatatypeException()
A constructor for those datatype libraries which don't support any diagnostic information at all.
public DatatypeException(String msg)
Create an exception with a message. The cause remains uninitialized.
- Parameters:
- See Also:
Exception.initCause(Throwable)
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.