%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
org.apache.torque.TorqueException |
|
|
1 | package org.apache.torque; |
|
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.commons.lang.exception.NestableException; |
|
20 | ||
21 | /** |
|
22 | * The base class of all exceptions thrown by Torque. |
|
23 | * |
|
24 | * @author <a href="mailto:dlr@collab.net">Daniel Rall</a> |
|
25 | * @author <a href="mailto:jvz@apache.org">Jason van Zyl</a> |
|
26 | * @version $Id: TorqueException.java 239630 2005-08-24 12:25:32Z henning $ |
|
27 | */ |
|
28 | public class TorqueException extends NestableException |
|
29 | { |
|
30 | ||
31 | /** |
|
32 | * Constructs a new <code>TorqueException</code> without specified detail |
|
33 | * message. |
|
34 | */ |
|
35 | public TorqueException() |
|
36 | 0 | { |
37 | 0 | } |
38 | ||
39 | /** |
|
40 | * Constructs a new <code>TorqueException</code> with specified detail |
|
41 | * message. |
|
42 | * |
|
43 | * @param msg the error message. |
|
44 | */ |
|
45 | public TorqueException(String msg) |
|
46 | { |
|
47 | 0 | super(msg); |
48 | 0 | } |
49 | ||
50 | /** |
|
51 | * Constructs a new <code>TorqueException</code> with specified nested |
|
52 | * <code>Throwable</code>. |
|
53 | * |
|
54 | * @param nested the exception or error that caused this exception |
|
55 | * to be thrown. |
|
56 | */ |
|
57 | public TorqueException(Throwable nested) |
|
58 | { |
|
59 | 1 | super(nested); |
60 | 1 | } |
61 | ||
62 | /** |
|
63 | * Constructs a new <code>TorqueException</code> with specified detail |
|
64 | * message and nested <code>Throwable</code>. |
|
65 | * |
|
66 | * @param msg the error message. |
|
67 | * @param nested the exception or error that caused this exception |
|
68 | * to be thrown. |
|
69 | */ |
|
70 | public TorqueException(String msg, Throwable nested) |
|
71 | { |
|
72 | 0 | super(msg, nested); |
73 | 0 | } |
74 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |