Added in API level 1
ParseException
open class ParseException : Exception
|
Signals that an error has been reached unexpectedly while parsing.
Summary
Public constructors | |
---|---|
ParseException(s: String!, errorOffset: Int) Constructs a ParseException with the specified detail message and offset. |
Public methods | |
---|---|
open Int |
Returns the position where the error was found. |
Public constructors
ParseException
Added in API level 1
ParseException(
s: String!,
errorOffset: Int)
Constructs a ParseException with the specified detail message and offset. A detail message is a String that describes this particular exception.
Public methods
getErrorOffset
Added in API level 1
open fun getErrorOffset(): Int
Returns the position where the error was found.
Return | |
---|---|
Int |
the position where the error was found |