Package eu.royalsloth.depbuilder.dsl
Class ParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- eu.royalsloth.depbuilder.dsl.ParseException
-
- All Implemented Interfaces:
Serializable
public class ParseException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParseException()
ParseException(String msg)
ParseException(String msg, Exception e)
ParseException(String msg, Exception e, int line, int charInLine)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParseException
create(DslLexer.Tokenizer tokenizer, Token problematicToken, String msg)
static ParseException
create(DslLexer.Tokenizer tokenizer, Token problematicToken, String msg, Exception e)
int
getCharacterInLine()
int
getLine()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getLine
public int getLine()
-
getCharacterInLine
public int getCharacterInLine()
-
create
public static ParseException create(DslLexer.Tokenizer tokenizer, Token problematicToken, String msg)
-
create
public static ParseException create(DslLexer.Tokenizer tokenizer, Token problematicToken, String msg, Exception e)
-
-