hashcode-utils-kt / org.hildan.hashcode.utils.reader / InputParsingException

InputParsingException

open class InputParsingException : RuntimeException

Thrown if the parsing of the input fails.

Constructors

<init>

Constructs a new InputParsingException with the given message and no cause.

InputParsingException(message: String)

Constructs a new InputParsingException with the given message and cause.

InputParsingException(message: String, cause: Throwable)

Constructs a new InputParsingException with the given message, along with lineNum and tokenNum for easier debugging.

InputParsingException(lineNum: Int, tokenNum: Int, message: String)

Inheritors

IncompleteInputReadException

Thrown if the parsing ends while there is still input to read.

class IncompleteInputReadException : InputParsingException

IncompleteLineReadException

Thrown if the next line is accessed while the current line has not been fully consumed.

class IncompleteLineReadException : InputParsingException

NoMoreLinesToReadException

Thrown if the input is accessed for more lines when there is no more to read.

class NoMoreLinesToReadException : InputParsingException