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:
java.io.Serializable
public class OpeningHoursParseException extends ParseException
Represents an exception when parsing the opening hour string- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class ch.poole.openinghoursparser.ParseException
currentToken, eol, expectedTokenSequences, tokenImage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumn()Returns the column number@NotNull java.util.List<OpeningHoursParseException>getExceptions()Get a list of the exceptions that caused this to be thrownintgetLine()Returns the line numberjava.lang.StringgetMessage()
-
-
-
Method Detail
-
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
public java.lang.String getMessage()
- Overrides:
getMessagein classjava.lang.Throwable
-
getExceptions
@NotNull public @NotNull java.util.List<OpeningHoursParseException> getExceptions()
Get a list of the exceptions that caused this to be thrown- Returns:
- a list of OpeningHoursParseException
-
-