ariba.util.expr
Class ExprException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ariba.util.expr.ExprException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ExpressionSyntaxException, InappropriateExpressionException, MethodFailedException, NoSuchPropertyException

public class ExprException
extends java.lang.Exception

Superclass for Expr exceptions, incorporating an optional encapsulated exception.

Author:
Luke Blanshard (blanshlu@netscape.net), Drew Davidson (drew@ognl.org)
See Also:
Serialized Form

Constructor Summary
ExprException()
          Constructs an ExprException with no message or encapsulated exception.
ExprException(java.lang.String msg)
          Constructs an ExprException with the given message but no encapsulated exception.
ExprException(java.lang.String msg, java.lang.Throwable reason)
          Constructs an ExprException with the given message and encapsulated exception.
 
Method Summary
 Evaluation getEvaluation()
          Returns the Evaluation that was the root evaluation when the exception was thrown.
 void setEvaluation(Evaluation value)
          Sets the Evaluation that was current when this exception was thrown.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExprException

public ExprException()
Constructs an ExprException with no message or encapsulated exception.


ExprException

public ExprException(java.lang.String msg)
Constructs an ExprException with the given message but no encapsulated exception.

Parameters:
msg - the exception's detail message

ExprException

public ExprException(java.lang.String msg,
                     java.lang.Throwable reason)
Constructs an ExprException with the given message and encapsulated exception.

Parameters:
msg - the exception's detail message
reason - the encapsulated exception
Method Detail

getEvaluation

public Evaluation getEvaluation()
Returns the Evaluation that was the root evaluation when the exception was thrown.


setEvaluation

public void setEvaluation(Evaluation value)
Sets the Evaluation that was current when this exception was thrown.



AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.