Class ExpressionEngineException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.vedantatree.expressionoasis.exceptions.ExpressionEngineException
-
- All Implemented Interfaces:
Serializable
public class ExpressionEngineException extends Exception
This exception is used by whole Expression Engine Component to share any Erroneous information with user of the component, like at the time of parsing or by the compiler while doing syntactical analysis.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
CUSTOMIZED_ERROR_CODE
-
Constructor Summary
Constructors Constructor Description ExpressionEngineException(String msg)
Constructs the ExpressionEngineExceptionExpressionEngineException(String msg, int errorCode, Throwable e)
Constructs the ExpressionEngineExceptionExpressionEngineException(String message, int errorCode, Throwable cause, boolean debug)
ExpressionEngineException(String msg, Throwable e)
Constructs the ExpressionEngineException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorCode()
protected String
getErrorDescription()
String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
CUSTOMIZED_ERROR_CODE
protected static final String CUSTOMIZED_ERROR_CODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExpressionEngineException
public ExpressionEngineException(String msg)
Constructs the ExpressionEngineException- Parameters:
msg
- the massege given by parser to tell the error.
-
ExpressionEngineException
public ExpressionEngineException(String msg, Throwable e)
Constructs the ExpressionEngineException- Parameters:
msg
- the massege given by parser to tell the error.e
- Exception to wrap
-
ExpressionEngineException
public ExpressionEngineException(String msg, int errorCode, Throwable e)
Constructs the ExpressionEngineException- Parameters:
msg
- the massege given by parser to tell the errorerrorCode
- code representing the error typee
- Exception to wrap
-
-
Method Detail
-
getErrorCode
public final int getErrorCode()
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getErrorDescription
protected String getErrorDescription()
-
-