View Javadoc

1   package org.apache.turbine.services.intake;
2   
3   /*
4    * Copyright 2001-2004 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,v 1.2.2.2 2004/05/20 03:16:39 seade Exp $
26   */
27  public class IntakeException extends TurbineException
28  {
29      /***
30       * Constructs a new <code>TurbineException</code> without specified
31       * detail message.
32       */
33      public IntakeException()
34      {
35      }
36  
37      /***
38       * Constructs a new <code>TurbineException</code> with specified
39       * detail message.
40       *
41       * @param msg The error message.
42       */
43      public IntakeException(String msg)
44      {
45          super(msg);
46      }
47  
48      /***
49       * Constructs a new <code>TurbineException</code> with specified
50       * nested <code>Throwable</code>.
51       *
52       * @param nested The exception or error that caused this exception
53       *               to be thrown.
54       */
55      public IntakeException(Throwable nested)
56      {
57          super(nested);
58      }
59  
60      /***
61       * Constructs a new <code>TurbineException</code> with specified
62       * detail message and nested <code>Throwable</code>.
63       *
64       * @param msg    The error message.
65       * @param nested The exception or error that caused this exception
66       *               to be thrown.
67       */
68      public IntakeException(String msg, Throwable nested)
69      {
70          super(msg, nested);
71      }
72  
73  }