net.sourceforge.stripes.util.bean
Class ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sourceforge.stripes.exception.StripesRuntimeException
                  extended by net.sourceforge.stripes.util.bean.ExpressionException
                      extended by net.sourceforge.stripes.util.bean.ParseException
All Implemented Interfaces:
Serializable

public class ParseException
extends ExpressionException

Exception used to designate that an expression was invalid and could not be parsed. The exception will contain the offending expression (accessible via getExpression()) as well as a String message explaining why it was not parseable.

Since:
Stripes 1.4
Author:
Tim Fennell
See Also:
Serialized Form

Constructor Summary
ParseException(String expression, String message)
          Constructs an exception with the supplied expression and message.
 
Method Summary
 String getExpression()
          Fetches the expression which caused the parsing failure.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParseException

public ParseException(String expression,
                      String message)
Constructs an exception with the supplied expression and message.

Method Detail

getExpression

public String getExpression()
Fetches the expression which caused the parsing failure.



? Copyright 2005-2006, Stripes Development Team.