View Javadoc

1   /*
2    * $Id: TilesVelocityException.java 1035820 2010-11-16 21:26:24Z 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.velocity;
23  
24  import org.apache.tiles.TilesException;
25  
26  /**
27   * Exception connected to the usage of Velocity and Tiles.
28   *
29   * @version $Rev: 1035820 $ $Date: 2010-11-17 08:26:24 +1100 (Wed, 17 Nov 2010) $
30   * @since 2.2.0
31   */
32  public class TilesVelocityException extends TilesException {
33  
34      /**
35       * Constructor.
36       *
37       * @since 2.2.0
38       */
39      public TilesVelocityException() {
40      }
41  
42      /**
43       * Constructor.
44       *
45       * @param message The message of the exception.
46       * @since 2.2.0
47       */
48      public TilesVelocityException(String message) {
49          super(message);
50      }
51  
52      /**
53       * Constructor.
54       *
55       * @param e The cause of the exception.
56       * @since 2.2.0
57       */
58      public TilesVelocityException(Throwable e) {
59          super(e);
60      }
61  
62      /**
63       * Constructor.
64       *
65       * @param message The message of the exception.
66       * @param e The cause of the exception.
67       * @since 2.2.0
68       */
69      public TilesVelocityException(String message, Throwable e) {
70          super(message, e);
71      }
72  }