Package org.mvel2
Class CompileException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mvel2.CompileException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PropertyAccessException
Standard exception thrown for all general compileShared and some runtime failures.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCompileException(String message, char[] expr, int cursor) CompileException(String message, char[] expr, int cursor, Throwable e) CompileException(String message, List<ErrorDetail> errors, char[] expr, int cursor, ParserContext ctx) -
Method Summary
Modifier and TypeMethodDescriptionintintintchar[]getExpr()intintvoidsetColumn(int column) voidsetCursor(int cursor) voidsetErrors(List<ErrorDetail> errors) voidsetEvaluationContext(Object evaluationContext) voidsetExpr(char[] expr) voidsetLastLineStart(int lastLineStart) voidsetLineNumber(int lineNumber) toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CompileException
public CompileException(String message, List<ErrorDetail> errors, char[] expr, int cursor, ParserContext ctx) -
CompileException
-
CompileException
-
-
Method Details
-
setEvaluationContext
-
toString
-
getMessage
- Overrides:
getMessagein classThrowable
-
getCodeNearError
-
getExpr
public char[] getExpr() -
getCursor
public int getCursor() -
getErrors
-
setErrors
-
getLineNumber
public int getLineNumber() -
setLineNumber
public void setLineNumber(int lineNumber) -
getColumn
public int getColumn() -
setColumn
public void setColumn(int column) -
getCursorOffet
public int getCursorOffet() -
setExpr
public void setExpr(char[] expr) -
setCursor
public void setCursor(int cursor) -
getLastLineStart
public int getLastLineStart() -
setLastLineStart
public void setLastLineStart(int lastLineStart)
-