Venice 0.7beta

org.mov.parser
Class ExpressionException

java.lang.Object
  extended by java.lang.Throwable
      extended by org.mov.parser.ExpressionException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EvaluationException, ParserException, TypeMismatchException

public class ExpressionException
extends java.lang.Throwable

An exception which is raised when there is a problem parsing or executing an expression.

See Also:
Serialized Form

Constructor Summary
ExpressionException(java.lang.String reason)
          Create a new expression exception with the given error reason.
 
Method Summary
 java.lang.String getReason()
          Return the reason this exception was raised.
 java.lang.String toString()
          Convert the exception to a string
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpressionException

public ExpressionException(java.lang.String reason)
Create a new expression exception with the given error reason.

Parameters:
reason - the reason the exception was thrown
Method Detail

getReason

public java.lang.String getReason()
Return the reason this exception was raised.

Returns:
the reason the exception was raised

toString

public java.lang.String toString()
Convert the exception to a string

Overrides:
toString in class java.lang.Throwable
Returns:
string version of the exception

Venice 0.7beta