Package io.jans.agama.dsl.error
Class SyntaxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.jans.agama.dsl.error.SyntaxException
-
- All Implemented Interfaces:
Serializable
public class SyntaxException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SyntaxException()
SyntaxException(String error, String symbol, int line, int column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumn()
String
getError()
int
getLine()
String
getMessage()
String
getSymbol()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getError
public String getError()
- Returns:
- the error
-
getSymbol
public String getSymbol()
- Returns:
- the symbol
-
getLine
public int getLine()
- Returns:
- the line
-
getColumn
public int getColumn()
- Returns:
- the column
-
-