|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.gentics.api.lib.exception.NodeException
com.gentics.api.lib.expressionparser.ExpressionParserException
public abstract class ExpressionParserException
Abstract base class for all exceptions that are thrown by the expression parser.
Field Summary | |
---|---|
protected String |
expressionString
expression string that caused this exception |
Constructor Summary | |
---|---|
ExpressionParserException()
Create an instance of the exception |
|
ExpressionParserException(String message)
Create an instance of the exception with a message. |
|
ExpressionParserException(String message,
Throwable cause)
Create an instance of the exception with a message and cause. |
|
ExpressionParserException(Throwable cause)
Create an instance of the exception with a cause |
Method Summary | |
---|---|
String |
getExpressionString()
Get the expression string of the expression causing this exception |
protected abstract String |
getGeneralExceptionMessagePrefix()
Get the general exception message prefix (dependent on the concrete exception class) |
String |
getMessage()
|
void |
setExpressionString(String expressionString)
Set the expression string of the expression causing this exception |
Methods inherited from class com.gentics.api.lib.exception.NodeException |
---|
getLocalizedMessage |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String expressionString
Constructor Detail |
---|
public ExpressionParserException()
public ExpressionParserException(String message)
message
- exception messagepublic ExpressionParserException(Throwable cause)
cause
- exception causepublic ExpressionParserException(String message, Throwable cause)
message
- exception messagecause
- exception causeMethod Detail |
---|
protected abstract String getGeneralExceptionMessagePrefix()
public String getMessage()
getMessage
in class Throwable
public String getExpressionString()
public void setExpressionString(String expressionString)
expressionString
- expressionString
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |