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 compile and some runtime failures.
- See Also:
- Serialized Form
CompileException
public CompileException()
CompileException
public CompileException(String message)
CompileException
public CompileException(String message,
List<ErrorDetail> errors)
CompileException
public CompileException(String message,
int cursor)
CompileException
public CompileException(String message,
char[] expr,
int cursor,
Throwable e)
CompileException
public CompileException(String message,
char[] expr,
int cursor)
CompileException
public CompileException(String message,
Throwable cause)
CompileException
public CompileException(Throwable cause)
toString
public String toString()
- Overrides:
toString
in class Throwable
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
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)
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.