Class DatatypeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DatatypeException
    extends java.lang.Exception
    Signals Datatype related exceptions.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int index  
      static int UNKNOWN  
    • 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.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.
    • Method Detail

      • 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.