| java.lang.Object java.lang.Throwable java.lang.Exception org.apache.beehive.netui.script.ExpressionEvaluationException
All known Subclasses: org.apache.beehive.netui.script.ExpressionUpdateException,
ExpressionEvaluationException | public class ExpressionEvaluationException extends Exception (Code) | | An exception thrown when errors occur evaluating an expression.
|
ExpressionEvaluationException | public ExpressionEvaluationException()(Code) | | Construct an ExpressionEvaluationException.
|
ExpressionEvaluationException | public ExpressionEvaluationException(String message, String expression)(Code) | | Construct an ExpressionEvaluationException with the given message and
the failed expression.
Parameters: message - a String containing the text of the exception message Parameters: expression - the expression whose evaluation failed |
ExpressionEvaluationException | public ExpressionEvaluationException(String message, String expression, Throwable cause)(Code) | | Construct an ExpressionEvaluationException with the given message,
the failed expression, and cause.
Parameters: message - a String containing the text of the exception message Parameters: expression - the expression whose evaluation failed Parameters: cause - a Throwable that is wrapped by this exception |
ExpressionEvaluationException | public ExpressionEvaluationException(String expression, Throwable cause)(Code) | | Construct a ExpressionEvaluationException with the given message and cause .
Parameters: expression - a String containing the text of the exception message Parameters: cause - a Throwable that is wrapped by this exception |
getAvailableContexts | public String[] getAvailableContexts()(Code) | | Get the top-level contexts that were available at the time that the
expression failed.
the contexts that were available at the time the expression was evaluated or null if the contexts were not set. |
getExpression | public String getExpression()(Code) | | Get the expression whose failed evaluation cause this exception to be thrown.
the expression that caused the problem |
getLocalizedMessage | public String getLocalizedMessage()(Code) | | |
setAvailableContexts | public void setAvailableContexts(String[] contexts)(Code) | | Set the set of top-level contexts that were available at the time
that the expression failed.
Parameters: contexts - the list of available contexts. |
setLocalizedMessage | public void setLocalizedMessage(String localizedMessage)(Code) | | |
|
|