org.apache.beehive.netui.script
Class IllegalExpressionException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by RuntimeExpressionException
                  extended by IllegalExpressionException
All Implemented Interfaces:
Serializable

public class IllegalExpressionException
extends RuntimeExpressionException

Exception thrown when an expression contains illegal syntax.

See Also:
Serialized Form

Constructor Summary
IllegalExpressionException()
          Construct an IllegalExpressionException.
IllegalExpressionException(String message)
          Construct an IllegalExpressionException with the given message.
IllegalExpressionException(String message, String expression)
          Construct an IllegalExpressionException with the given message and the malformed expression.
IllegalExpressionException(String message, String expression, Throwable cause)
          Construct an IllegalExpressionException with the given message, the malformed expression, and the cause.
IllegalExpressionException(String message, Throwable cause)
          Construct an IllegalExpressionException with the given message and cause.
IllegalExpressionException(Throwable cause)
          Construct an IllegalExpressionException with the given cause
 
Method Summary
 String getExpression()
          Get the malformed expression.
 
Methods inherited from class RuntimeExpressionException
getLocalizedMessage, 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

IllegalExpressionException

public IllegalExpressionException()
Construct an IllegalExpressionException.


IllegalExpressionException

public IllegalExpressionException(String message)
Construct an IllegalExpressionException with the given message.

Parameters:
message - a String containing the text of the exception message

IllegalExpressionException

public IllegalExpressionException(Throwable cause)
Construct an IllegalExpressionException with the given cause

Parameters:
cause - a Throwable that caused this exception to be thrown

IllegalExpressionException

public IllegalExpressionException(String message,
                                  Throwable cause)
Construct an IllegalExpressionException with the given message and cause.

Parameters:
message - a String containing the text of the exception message
cause - a Throwable that caused this exception to be thrown

IllegalExpressionException

public IllegalExpressionException(String message,
                                  String expression)
Construct an IllegalExpressionException with the given message and the malformed expression.

Parameters:
message - a String containing the text of this exception message
expression - the expression that was malformed and caused this exception to be thrown

IllegalExpressionException

public IllegalExpressionException(String message,
                                  String expression,
                                  Throwable cause)
Construct an IllegalExpressionException with the given message, the malformed expression, and the cause.

Parameters:
message - a String containing the text of this exception message
expression - the expression that was malformed and caused this exception to be thrown
cause - a Throwable that caused this exception to be thrown
Method Detail

getExpression

public String getExpression()
Get the malformed expression.

Returns:
the malformed expression