|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
LocatorException.java | - | 33.3% | 25% | 28.6% |
|
1 | /** | |
2 | * JTRunner is free software; you can redistribute it and/or modify it under the | |
3 | * terms of the GNU General Public License as published by the Free Software | |
4 | * Foundation; either version 2, or (at your option) any later version. | |
5 | */ | |
6 | ||
7 | package jtr.enterprise; | |
8 | ||
9 | /** | |
10 | * This exception is thrown whenever a JNDI location operation fails. | |
11 | * | |
12 | * @author Francesco Russo (frusso@dev.java.net) | |
13 | * @version 4.0 | |
14 | * @since 1.0 | |
15 | */ | |
16 | public class LocatorException extends Exception { | |
17 | /** | |
18 | * | |
19 | */ | |
20 | private static final long serialVersionUID = 2117828863791854045L; | |
21 | ||
22 | /** | |
23 | * Default constructor. | |
24 | */ | |
25 | 0 | public LocatorException() { |
26 | } | |
27 | ||
28 | /** | |
29 | * Parameterized constructor. | |
30 | * @param t The cause of the exception | |
31 | */ | |
32 | 0 | public LocatorException(Throwable t) { |
33 | 0 | super(t); |
34 | } | |
35 | ||
36 | /** | |
37 | * Parameterized constructor. | |
38 | * @param msg The message | |
39 | */ | |
40 | 0 | public LocatorException(String msg) { |
41 | 0 | super(msg); |
42 | } | |
43 | ||
44 | /** | |
45 | * Parameterized constructor. | |
46 | * @param msg The message | |
47 | * @param t The cause of the exception | |
48 | */ | |
49 | 4 | public LocatorException(String msg, Throwable t) { |
50 | 4 | super(msg, t); |
51 | } | |
52 | } |
|