DateTimeParseException

An exception thrown when an error occurs during parsing. !(p) This exception includes the text being parsed and the error index.

@implSpec This class is intended for use _in a single thread.

@since 1.8

Constructors

this
this(string message, string parsedData, int errorIndex)

Constructs a new exception with the specified message.

this
this(string message, string parsedData, int errorIndex, Throwable cause)

Constructs a new exception with the specified message and cause.

Members

Functions

getErrorIndex
int getErrorIndex()

Returns the index where the error was found.

getParsedString
string getParsedString()

Returns the string that was being parsed.

Inherited Members

From DateTimeException

__anonymous
mixin BasicExceptionCtors
Undocumented in source.

Meta