Home » openjdk-7 » java » text » [javadoc | source]
java.text
public class: ParseException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.text.ParseException

All Implemented Interfaces:
    Serializable

Signals that an error has been reached unexpectedly while parsing.
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public ParseException(String s,
    int errorOffset) 
    Constructs a ParseException with the specified detail message and offset. A detail message is a String that describes this particular exception.
    Parameters:
    s - the detail message
    errorOffset - the position where the error is found while parsing.
Method from java.text.ParseException Summary:
getErrorOffset
Methods from java.lang.Throwable:
addSuppressed,   fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   getStackTraceDepth,   getStackTraceElement,   getSuppressed,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.text.ParseException Detail:
 public int getErrorOffset() 
    Returns the position where the error was found.