Class DatatypeException

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

public class DatatypeException extends Exception
Signals Datatype related exceptions.
Author:
James Clark, Kohsuke KAWAGUCHI
See Also:
  • Field Details

  • Constructor Details

    • DatatypeException

      public DatatypeException(int index, String msg)
    • DatatypeException

      public DatatypeException(String msg)
    • DatatypeException

      public DatatypeException()
      A constructor for those datatype libraries which don't support any diagnostic information at all.
  • Method Details

    • getIndex

      public int getIndex()
      Gets the index of the content where the error occurred. UNKNOWN can be returned to indicate that no index information is available.