org.apache.beehive.netui.pageflow.internal
Class BindingUpdateError

Object
  extended by BindingUpdateError
All Implemented Interfaces:
Serializable

public class BindingUpdateError
extends Object
implements Serializable

Encapsulation of an error that happens when a databinding expression is applied on POST.

See Also:
Serialized Form

Constructor Summary
BindingUpdateError(String expression, String message, Throwable cause)
          Constructor to initialize all values.
 
Method Summary
 Throwable getCause()
          Get the cause of the error.
 String getExpression()
          Get the expression associated with this error.
 String getMessage()
          Get the error message.
 void setCause(Throwable cause)
          Set the cause of the error.
 void setExpression(String expression)
          Set the expression associated with this error.
 void setMessage(String message)
          Set the error message.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingUpdateError

public BindingUpdateError(String expression,
                          String message,
                          Throwable cause)
Constructor to initialize all values.

Parameters:
expression - the expression associated with this error.
message - the error message.
cause - the Throwable that caused the error.
Method Detail

getExpression

public String getExpression()
Get the expression associated with this error.

Returns:
a String containing the expression associated with this error.

setExpression

public void setExpression(String expression)
Set the expression associated with this error.

Parameters:
expression - a String containing the expression associated with this error.

getMessage

public String getMessage()
Get the error message.

Returns:
a String containing the error message.

setMessage

public void setMessage(String message)
Set the error message.

Parameters:
message - a String containing the error message.

getCause

public Throwable getCause()
Get the cause of the error.

Returns:
the Throwable that caused the error.

setCause

public void setCause(Throwable cause)
Set the cause of the error.

Parameters:
cause - the Throwable that caused the error.