1 package com.randomnoun.common.jexl.eval;
2
3 /* (c) 2013 randomnoun. All Rights Reserved. This work is licensed under a
4 * BSD Simplified License. (http://www.randomnoun.com/bsd-simplified.html)
5 */
6
7
8 /**
9 * A class that encapsulates a runtime exception occuring during
10 * evaluation of an expression.
11 *
12 * <p>This class extends RuntimeException because the visit() classes in ObjectVisitor
13 * do not have any 'throws' clauses. This should probably be a checked exception.
14 *
15 * @author knoxg
16 */
17 public class EvalException
18 extends RuntimeException
19 {
20 /** Generated serialVersionUID */
21 private static final long serialVersionUID = -3581223769526972975L;
22
23 /**
24 * Creates a new EvalException object.
25 *
26 * @param message exception message
27 */
28 public EvalException(String message)
29 {
30 super(message);
31 }
32 }