Class ParseException

  • All Implemented Interfaces:
    java.io.Serializable

    class ParseException
    extends java.lang.RuntimeException
    Version:
    ParseException.java,v 1.3 2002/08/09 15:18:17 neilg Exp
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int location  
    • Constructor Summary

      Constructors 
      Constructor Description
      ParseException​(java.lang.String mes, int location)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getLocation()  
      • 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
    • Field Detail

      • location

        int location
    • Constructor Detail

      • ParseException

        public ParseException​(java.lang.String mes,
                              int location)
    • Method Detail

      • getLocation

        public int getLocation()
        Returns:
        -1 if location information is not available.