java.text.ParseException
java.lang.Exception
None
None
New as of JDK 1.1
A ParseException is thrown when the text in a string that is being parsed is not in the correct format.
public class java.text.ParseException extends java.lang.Exception { // Constructors public ParseException(String s, int errorOffset); // Instance Methods public int getErrorOffset(); }
The detail message.
The offset at which the parsing error occurred.
This constructor creates a ParseException with the given detail message and offset.
The error offset.
This method returns the offset at which the parsing error occurred.
Method | Inherited From | Method | Inherited From |
---|---|---|---|
clone() |
Object |
equals(Object) |
Object |
fillInStackTrace() |
Throwable |
finalize() |
Object |
getClass() |
Object |
getLocalizedMessage() |
Throwable |
getMessage() |
Throwable |
hashCode() |
Object |
notify() |
Object |
notifyAll() |
Object |
printStackTrace() |
Throwable |
printStackTrace(PrintStream) |
Throwable |
printStackTrace(PrintWriter) |
Throwable |
toString() |
Throwable |
wait() |
Object |
wait(long) |
Object |
wait(long, int) |
Object |
DateFormat, Exception, Format, MessageFormat, NumberFormat
This HTML Help has been published using the chm2web software. |