1 /*
2 * $Id: EvaluationException.java 943645 2010-05-12 19:33:19Z apetrelli $
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License. You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied. See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 */
21
22 package org.apache.tiles.evaluator;
23
24 import org.apache.tiles.TilesException;
25
26 /**
27 * Exception raised when an expression language evaluation fails.
28 *
29 * @version $Rev: 943645 $ $Date: 2010-05-13 05:33:19 +1000 (Thu, 13 May 2010) $
30 * @since 2.2.0
31 */
32 public class EvaluationException extends TilesException {
33
34 /**
35 * Constructor.
36 *
37 * @since 2.2.0
38 */
39 public EvaluationException() {
40 }
41
42 /**
43 * Constructor.
44 *
45 * @param message The message-
46 * @since 2.2.0
47 */
48 public EvaluationException(String message) {
49 super(message);
50 }
51
52 /**
53 * Constructor.
54 *
55 * @param e The cause.
56 * @since 2.2.0
57 */
58 public EvaluationException(Throwable e) {
59 super(e);
60 }
61
62 /**
63 * Constructor.
64 *
65 * @param message The message-
66 * @param e The cause.
67 * @since 2.2.0
68 */
69 public EvaluationException(String message, Throwable e) {
70 super(message, e);
71 }
72 }