Package ch.poole.openinghoursparser
Class OpeningHoursParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ch.poole.openinghoursparser.ParseException
ch.poole.openinghoursparser.OpeningHoursParseException
- All Implemented Interfaces:
Serializable
public class OpeningHoursParseException
extends ch.poole.openinghoursparser.ParseException
Represents an exception when parsing the opening hour string
- See Also:
-
Field Summary
Fields inherited from class ch.poole.openinghoursparser.ParseException
currentToken, expectedTokenSequences, tokenImage -
Method Summary
Modifier and TypeMethodDescriptionintReturns the column number@NotNull List<OpeningHoursParseException>Get a list of the exceptions that caused this to be thrownintgetLine()Returns the line numberMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getLine
public int getLine()Returns the line number- Returns:
- the line number
-
getColumn
public int getColumn()Returns the column number- Returns:
- the column number
-
getMessage
- Overrides:
getMessagein classThrowable
-
getExceptions
Get a list of the exceptions that caused this to be thrown- Returns:
- a list of OpeningHoursParseException
-