net.sourceforge.stripes.util.bean
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sourceforge.stripes.exception.StripesRuntimeException
net.sourceforge.stripes.util.bean.ExpressionException
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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ParseException
public ParseException(String expression,
String message)
- Constructs an exception with the supplied expression and message.
getExpression
public String getExpression()
- Fetches the expression which caused the parsing failure.
? Copyright 2005-2006, Stripes Development Team.