|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
RegistrationFailedException.java | - | 0% | 0% | 0% |
|
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.config; | |
8 | ||
9 | /** | |
10 | * This exception is thrown whenever a <code>RegisteredFactory</code> instance | |
11 | * fails to register a new factory class. | |
12 | * | |
13 | * @author Francesco Russo (frusso@dev.java.net) | |
14 | * @version 4.0 | |
15 | * @since 1.0 | |
16 | */ | |
17 | public class RegistrationFailedException extends RuntimeException { | |
18 | /** | |
19 | * | |
20 | */ | |
21 | private static final long serialVersionUID = 6031714072419102063L; | |
22 | ||
23 | /** | |
24 | * Constructs a RegistrationFailedException without a message. | |
25 | */ | |
26 | 0 | public RegistrationFailedException() { |
27 | 0 | super(); |
28 | } | |
29 | ||
30 | /** | |
31 | * Constructs a RegistrationFailedException with a detailed message. | |
32 | * | |
33 | * @param message | |
34 | * The message associated with the exception. | |
35 | */ | |
36 | 0 | public RegistrationFailedException(String message) { |
37 | 0 | super(message); |
38 | } | |
39 | ||
40 | /** | |
41 | * Constructs a RegistrationFailedException with a detailed message and a | |
42 | * root cause. | |
43 | * | |
44 | * @param message | |
45 | * String | |
46 | * @param root | |
47 | * Throwable | |
48 | */ | |
49 | 0 | public RegistrationFailedException(String message, Throwable root) { |
50 | 0 | super(message); |
51 | } | |
52 | } |
|