org.apache.beehive.netui.script
Class ExpressionUpdateException

Object
  extended by Throwable
      extended by Exception
          extended by ExpressionEvaluationException
              extended by ExpressionUpdateException
All Implemented Interfaces:
Serializable

public class ExpressionUpdateException
extends ExpressionEvaluationException

An exception thrown when an error occurs during an expression update.

See Also:
Serialized Form

Constructor Summary
ExpressionUpdateException()
          Construct an ExpressionUpdateException.
ExpressionUpdateException(String message, String expression)
          Construct an ExpressionUpdateException with the given message, failed expression, expected updated value, and expression that was used to perform the update.
ExpressionUpdateException(String message, String expression, Throwable cause)
          Construct an ExpressionUpdateException with the given message, failed expression, expected updated value, and expression that was used to perform the update.
 
Method Summary
 Object getUpdateValue()
          Deprecated.  
 
Methods inherited from class ExpressionEvaluationException
getAvailableContexts, getExpression, getLocalizedMessage, setAvailableContexts, setLocalizedMessage
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpressionUpdateException

public ExpressionUpdateException()
Construct an ExpressionUpdateException.


ExpressionUpdateException

public ExpressionUpdateException(String message,
                                 String expression,
                                 Throwable cause)
Construct an ExpressionUpdateException with the given message, failed expression, expected updated value, and expression that was used to perform the update.

Parameters:
message - a String containing the text of the exception message
expression - the expression whose update failed
cause - the Throwable that is wrapped as the cause of this exception

ExpressionUpdateException

public ExpressionUpdateException(String message,
                                 String expression)
Construct an ExpressionUpdateException with the given message, failed expression, expected updated value, and expression that was used to perform the update.

Parameters:
message - a String containing the text of the exception message
expression - the expression whose update failed
Method Detail

getUpdateValue

public Object getUpdateValue()
Deprecated. 

Get the value that should have been written to the object referenced by the failed update expression. This method is deprecated and will always return null because of the security risk associated with making the value available.

Returns:
the failed update value