001package com.randomnoun.common.jexl.eval;
002
003/* (c) 2013 randomnoun. All Rights Reserved. This work is licensed under a
004 * BSD Simplified License. (http://www.randomnoun.com/bsd-simplified.html)
005 */
006
007
008/**
009 * A class that encapsulates a runtime exception occuring during
010 * evaluation of an expression.
011 *
012 * <p>This class extends RuntimeException because the visit() classes in ObjectVisitor 
013 * do not have any 'throws' clauses. This should probably be a checked exception.
014 * 
015 * @author knoxg
016 */
017public class EvalException
018    extends RuntimeException
019{
020    /** Generated serialVersionUID */
021        private static final long serialVersionUID = -3581223769526972975L;
022
023        /**
024     * Creates a new EvalException object.
025     *
026     * @param message exception message
027     */
028    public EvalException(String message)
029    {
030        super(message);
031    }
032}