Package io.mola.galimatias
Class GalimatiasParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.mola.galimatias.GalimatiasParseException
-
- All Implemented Interfaces:
java.io.Serializable
public class GalimatiasParseException extends java.lang.ExceptionException thrown by parsers.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classGalimatiasParseException.Builder
-
Field Summary
Fields Modifier and Type Field Description private ParseIssueparseIssueprivate intposition
-
Constructor Summary
Constructors Modifier Constructor Description privateGalimatiasParseException()(package private)GalimatiasParseException(java.lang.String message)(package private)GalimatiasParseException(java.lang.String message, int position)(package private)GalimatiasParseException(java.lang.String message, ParseIssue parseIssue, int position, java.lang.Throwable exception)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static GalimatiasParseException.Builderbuilder()ParseIssuegetParseIssue()Gets the @{link ParseIssue}.intgetPosition()
-
-
-
Field Detail
-
parseIssue
private ParseIssue parseIssue
-
position
private int position
-
-
Constructor Detail
-
GalimatiasParseException
private GalimatiasParseException()
-
GalimatiasParseException
GalimatiasParseException(java.lang.String message)
-
GalimatiasParseException
GalimatiasParseException(java.lang.String message, int position)
-
GalimatiasParseException
GalimatiasParseException(java.lang.String message, ParseIssue parseIssue, int position, java.lang.Throwable exception)
-
-
Method Detail
-
builder
static GalimatiasParseException.Builder builder()
-
getPosition
public int getPosition()
-
getParseIssue
public ParseIssue getParseIssue()
Gets the @{link ParseIssue}. This API is considered experimental and will change in coming versions.
-
-