ParseException

class ParseException(message: String, val errorOffset: Int) : Exception

ported from java.text.ParseException

Signals that an error has been reached unexpectedly while parsing.

Author

Mark Davis

Since

1.1 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.

See also

java.lang.Exception
java.text.Format
java.text.FieldPosition

Constructors

Link copied to clipboard
constructor(message: String, errorOffset: Int)

Properties

Link copied to clipboard
open override val cause: Throwable?
Link copied to clipboard

The zero-based character offset into the string being parsed at which the error was found during parsing.

Link copied to clipboard
expect open val message: String?

Functions

Link copied to clipboard
Link copied to clipboard