##### Coverage Report - org.apache.turbine.services.InitializationException

Classes in this File | Line Coverage | Branch Coverage | Complexity
InitializationException |
50% | 2/4
N/A | N/A
| 1.0;1

1 |  |
     package org.apache.turbine.services;
2 |  |
3 |  |
4 |  |
     /*
5 |  |
      * Licensed to the Apache Software Foundation (ASF) under one
6 |  |
      * or more contributor license agreements.  See the NOTICE file
7 |  |
      * distributed with this work for additional information
8 |  |
      * regarding copyright ownership.  The ASF licenses this file
9 |  |
      * to you under the Apache License, Version 2.0 (the
10 |  |
      * "License"); you may not use this file except in compliance
11 |  |
      * with the License.  You may obtain a copy of the License at
12 |  |
      *
13 |  |
      *   http://www.apache.org/licenses/LICENSE-2.0
14 |  |
      *
15 |  |
      * Unless required by applicable law or agreed to in writing,
16 |  |
      * software distributed under the License is distributed on an
17 |  |
      * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 |  |
      * KIND, either express or implied.  See the License for the
19 |  |
      * specific language governing permissions and limitations
20 |  |
      * under the License.
21 |  |
      */
22 |  |
23 |  |
24 |  |
     import org.apache.turbine.util.TurbineException;
25 |  |
26 |  |
     /**
27 |  |
      * Thrown by <code>Initable</code> class in case of initialization
28 |  |
      * problems.
29 |  |
      *
30 |  |
      * @author <a href="mailto:burton@apache.org">Kevin Burton</a>
31 |  |
      * @author <a href="mailto:krzewski@e-point.pl">Rafal Krzewski</a>
32 |  |
      * @version $Id: InitializationException.java 1066945 2011-02-03 20:27:59Z ludwig $
33 |  |
      * @see org.apache.turbine.services.Initable
34 |  |
      */
35 |  |
     public class InitializationException extends TurbineException
36 |  |
     {
37 |  |
         /**
38 |  |
          * Serial version.
39 |  |
          */
40 |  |
         private static final long serialVersionUID = 974475242666061904L;
41 |  |
42 |  |
         /**
43 |  |
          * Construct an InitializationException with specified detail message.
44 |  |
          *
45 |  |
          * @param msg The detail message.
46 |  |
          */
47 |  |
         public InitializationException(String msg)
48 |  |
         {
49 | 0 |
             super(msg);
50 | 0 |
         }
51 |  |
52 |  |
         /**
53 |  |
          * Construct an InitializationException with specified detail message
54 |  |
          * and nested Throwable.
55 |  |
          *
56 |  |
          * @param msg The detail message.
57 |  |
          * @param t the exception or error that caused this exception
58 |  |
          *               to be thrown.
59 |  |
          */
60 |  |
         public InitializationException(String msg, Throwable t)
61 |  |
         {
62 | 32 |
             super(msg, t);
63 | 32 |
         }
64 |  |
     }