Package com.esotericpig.jeso.code
Class ParseCodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.esotericpig.jeso.code.ParseCodeException
- All Implemented Interfaces:
Serializable
- Author:
- Jonathan Bradley Whited
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParseCodeException
(int lineNumber, int lineColumn) ParseCodeException
(int lineNumber, int lineColumn, String message) ParseCodeException
(int lineNumber, int lineColumn, String message, Throwable cause) ParseCodeException
(int lineNumber, int lineColumn, Throwable cause) ParseCodeException
(LineOfCode loc, String message) ParseCodeException
(LineOfCode loc, String message, Throwable cause) ParseCodeException
(LineOfCode loc, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic ParseCodeException
static ParseCodeException
static ParseCodeException
static ParseCodeException
build
(LineOfCode loc, String message) static ParseCodeException
build
(LineOfCode loc, String message, String name) static ParseCodeException
build
(LineOfCode loc, String message, String name, Throwable cause) static String
buildMessage
(int lineNumber, int lineColumn, String message) static String
buildMessage
(int lineNumber, int lineColumn, String message, String name) static String
buildMessage
(LineOfCode loc, String message) static String
buildMessage
(LineOfCode loc, String message, String name) int
int
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
loc
-
-
Constructor Details
-
ParseCodeException
public ParseCodeException(int lineNumber, int lineColumn) -
ParseCodeException
-
ParseCodeException
-
ParseCodeException
-
ParseCodeException
-
ParseCodeException
-
ParseCodeException
-
ParseCodeException
-
-
Method Details
-
build
-
build
-
build
public static ParseCodeException build(int lineNumber, int lineColumn, String message, String name, Throwable cause) -
build
-
build
-
build
public static ParseCodeException build(LineOfCode loc, String message, String name, Throwable cause) -
buildMessage
-
buildMessage
-
buildMessage
-
buildMessage
-
getLineColumn
public int getLineColumn() -
getLineNumber
public int getLineNumber() -
getLineOfCode
-