public class TemporalParseException extends ValuesException
TemporalParseException is thrown if parsing of a TemporalValue is unsuccessful.
The constructor parameters parsedData and errorIndex can optionally be provided
in order to conform with Java's DateTimeParseException and SyntaxException.| Constructor and Description |
|---|
TemporalParseException(String errorMsg,
String parsedData,
int errorIndex) |
TemporalParseException(String errorMsg,
String parsedData,
int errorIndex,
Throwable cause) |
TemporalParseException(String errorMsg,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorIndex() |
String |
getParsedData() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.