org.mvel2
Class CompileException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.mvel2.CompileException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PropertyAccessException

public class CompileException
extends java.lang.RuntimeException

Standard exception thrown for all general compile and some runtime failures.

See Also:
Serialized Form

Constructor Summary
CompileException()
           
CompileException(java.lang.String message)
           
CompileException(java.lang.String message, char[] expr, int cursor)
           
CompileException(java.lang.String message, char[] expr, int cursor, java.lang.Throwable e)
           
CompileException(java.lang.String message, int cursor)
           
CompileException(java.lang.String message, java.util.List<ErrorDetail> errors)
           
CompileException(java.lang.String message, java.lang.Throwable cause)
           
CompileException(java.lang.Throwable cause)
           
 
Method Summary
 int getColumn()
           
 int getCursor()
           
 java.util.List<ErrorDetail> getErrors()
           
 char[] getExpr()
           
 int getLastLineStart()
           
 int getLineNumber()
           
 java.lang.String getMessage()
           
 void setColumn(int column)
           
 void setCursor(int cursor)
           
 void setErrors(java.util.List<ErrorDetail> errors)
           
 void setExpr(char[] expr)
           
 void setLastLineStart(int lastLineStart)
           
 void setLineNumber(int lineNumber)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompileException

public CompileException()

CompileException

public CompileException(java.lang.String message)

CompileException

public CompileException(java.lang.String message,
                        java.util.List<ErrorDetail> errors)

CompileException

public CompileException(java.lang.String message,
                        int cursor)

CompileException

public CompileException(java.lang.String message,
                        char[] expr,
                        int cursor,
                        java.lang.Throwable e)

CompileException

public CompileException(java.lang.String message,
                        char[] expr,
                        int cursor)

CompileException

public CompileException(java.lang.String message,
                        java.lang.Throwable cause)

CompileException

public CompileException(java.lang.Throwable cause)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getExpr

public char[] getExpr()

getCursor

public int getCursor()

getErrors

public java.util.List<ErrorDetail> getErrors()

setErrors

public void setErrors(java.util.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 © 2010. All Rights Reserved.