View Javadoc

1   package org.apache.turbine.services.intake;
2   
3   /*
4    * Copyright 2001-2005 The Apache Software Foundation.
5    *
6    * Licensed under the Apache License, Version 2.0 (the "License")
7    * you may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    *
10   *     http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing, software
13   * distributed under the License is distributed on an "AS IS" BASIS,
14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   * See the License for the specific language governing permissions and
16   * limitations under the License.
17   */
18  
19  import org.apache.turbine.util.TurbineException;
20  
21  /***
22   * Base exception thrown by the Intake service.
23   *
24   * @author <a href="mailto:quintonm@bellsouth.net">Quinton McCombs</a>
25   * @version $Id: IntakeException.java 278822 2005-09-05 19:53:05Z henning $
26   */
27  public class IntakeException extends TurbineException
28  {
29      /*** Serial Version UID */
30      private static final long serialVersionUID = -5061948861026893142L;
31  
32      /***
33       * Constructs a new <code>TurbineException</code> without specified
34       * detail message.
35       */
36      public IntakeException()
37      {
38      }
39  
40      /***
41       * Constructs a new <code>TurbineException</code> with specified
42       * detail message.
43       *
44       * @param msg The error message.
45       */
46      public IntakeException(String msg)
47      {
48          super(msg);
49      }
50  
51      /***
52       * Constructs a new <code>TurbineException</code> with specified
53       * nested <code>Throwable</code>.
54       *
55       * @param nested The exception or error that caused this exception
56       *               to be thrown.
57       */
58      public IntakeException(Throwable nested)
59      {
60          super(nested);
61      }
62  
63      /***
64       * Constructs a new <code>TurbineException</code> with specified
65       * detail message and nested <code>Throwable</code>.
66       *
67       * @param msg    The error message.
68       * @param nested The exception or error that caused this exception
69       *               to be thrown.
70       */
71      public IntakeException(String msg, Throwable nested)
72      {
73          super(msg, nested);
74      }
75  
76  }