1 | /* |
2 | * JTiger Unit Testing Framework for J2SE 1.5 |
3 | * Copyright (C) 2005 Tony Morris |
4 | * |
5 | * This software is licenced under the |
6 | * Common Public Licence version 1.0 |
7 | * http://www.opensource.org/licenses/cpl1.0.php |
8 | * |
9 | * You received a copy of this licence with this software. |
10 | */ |
11 | package org.jtiger.framework; |
12 | |
13 | /** |
14 | * An exception that may be thrown during the setting up of a test case. |
15 | * |
16 | * @see SetUp |
17 | * @see SetUpTearDown |
18 | * @author %javadoc.author.tag% |
19 | * @version %version%<br/> |
20 | * <i>Build Number %build.number%</i><br/> |
21 | * <i>Build Time %build.time% CET (GMT + 1)</i> |
22 | */ |
23 | public final class SetUpException extends Exception |
24 | { |
25 | /** |
26 | * Create a default <tt>SetUpException</tt>. |
27 | */ |
28 | public SetUpException() |
29 | { |
30 | |
31 | } |
32 | |
33 | /** |
34 | * Create a <tt>SetUpException</tt> with the given message. |
35 | * |
36 | * @param message The message of the <tt>SetUpException</tt>. |
37 | */ |
38 | public SetUpException(final String message) |
39 | { |
40 | super(message); |
41 | } |
42 | |
43 | /** |
44 | * Create a <tt>SetUpException</tt> with the given cause. |
45 | * |
46 | * @param cause The cause of the <tt>SetUpException</tt>. |
47 | */ |
48 | public SetUpException(final Throwable cause) |
49 | { |
50 | super(cause); |
51 | } |
52 | |
53 | /** |
54 | * Create a <tt>SetUpException</tt> with the given message and cause. |
55 | * |
56 | * @param message The message of the <tt>SetUpException</tt>. |
57 | * @param cause The cause of the <tt>SetUpException</tt>. |
58 | */ |
59 | public SetUpException(final String message, final Throwable cause) |
60 | { |
61 | super(message, cause); |
62 | } |
63 | } |