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
public class CompileException
- extends RuntimeException
Standard exception thrown for all general compileShared and some runtime failures.
- See Also:
- Serialized Form
CompileException
public CompileException(String message,
List<ErrorDetail> errors,
char[] expr,
int cursor,
ParserContext ctx)
CompileException
public CompileException(String message,
char[] expr,
int cursor,
Throwable e)
CompileException
public CompileException(String message,
char[] expr,
int cursor)
toString
public String toString()
- Overrides:
toString in class Throwable
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable
getCodeNearError
public CharSequence getCodeNearError()
getExpr
public char[] getExpr()
getCursor
public int getCursor()
getErrors
public List<ErrorDetail> getErrors()
setErrors
public void setErrors(List<ErrorDetail> errors)
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)
Copyright © 2011. All Rights Reserved.