Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
EngineException |
|
| 1.0;1 |
1 | package org.apache.torque.engine; | |
2 | ||
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 | import org.apache.commons.lang.exception.NestableException; | |
23 | ||
24 | /** | |
25 | * The base class of all exceptions thrown by the engine. | |
26 | * | |
27 | * @author <a href="mailto:dlr@collab.net">Daniel Rall</a> | |
28 | * @author <a href="mailto:jvz@apache.org">Jason van Zyl</a> | |
29 | * @version $Id: EngineException.java,v 1.1 2007-10-21 07:57:27 abyrne Exp $ | |
30 | */ | |
31 | public class EngineException extends NestableException | |
32 | { | |
33 | /** | |
34 | * Serial version | |
35 | */ | |
36 | private static final long serialVersionUID = 3021095306218344981L; | |
37 | ||
38 | /** | |
39 | * Constructs a new <code>EngineException</code> without specified detail | |
40 | * message. | |
41 | */ | |
42 | public EngineException() | |
43 | 0 | { |
44 | 0 | } |
45 | ||
46 | /** | |
47 | * Constructs a new <code>EngineException</code> with specified detail | |
48 | * message. | |
49 | * | |
50 | * @param msg the error message. | |
51 | */ | |
52 | public EngineException(String msg) | |
53 | { | |
54 | 0 | super(msg); |
55 | 0 | } |
56 | ||
57 | /** | |
58 | * Constructs a new <code>EngineException</code> with specified nested | |
59 | * <code>Throwable</code>. | |
60 | * | |
61 | * @param nested the exception or error that caused this exception | |
62 | * to be thrown. | |
63 | */ | |
64 | public EngineException(Throwable nested) | |
65 | { | |
66 | 0 | super(nested); |
67 | 0 | } |
68 | ||
69 | /** | |
70 | * Constructs a new <code>EngineException</code> with specified detail | |
71 | * message and nested <code>Throwable</code>. | |
72 | * | |
73 | * @param msg the error message. | |
74 | * @param nested the exception or error that caused this exception | |
75 | * to be thrown. | |
76 | */ | |
77 | public EngineException(String msg, Throwable nested) | |
78 | { | |
79 | 0 | super(msg, nested); |
80 | 0 | } |
81 | } |