java.lang.Exception , java.text.Format , java.text.FieldPosition
| Modifier and Type | Field and Description |
|---|---|
| private int | errorOffset
The zero-based character offset into the string being parsed at which the error was found during parsing. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | ParseException(String
the detail message s, int the position where the error is found while parsing. errorOffset)Constructs a ParseException with the specified detail message and offset. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the position where the error was foundReturns the position where the error was found. |
| errorOffset | back to summary |
|---|---|
| private int errorOffset The zero-based character offset into the string being parsed at which the error was found during parsing. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| ParseException | back to summary |
|---|---|
| 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.
| |
| getErrorOffset | back to summary |
|---|---|
| public int getErrorOffset() Returns the position where the error was found.
| |