Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
JewelRuntimeException |
|
| 1.0;1 |
1 | /** | |
2 | * | |
3 | */ | |
4 | package com.lexicalscope.jewel; | |
5 | ||
6 | /** | |
7 | * The superclass of all Jewel Runtime Exception | |
8 | * | |
9 | * @author tim | |
10 | */ | |
11 | public class JewelRuntimeException extends RuntimeException | |
12 | { | |
13 | private static final long serialVersionUID = 6028801435353855311L; | |
14 | ||
15 | /** | |
16 | * A new exception with no message | |
17 | */ | |
18 | public JewelRuntimeException() | |
19 | { | |
20 | 0 | super(); |
21 | 0 | } |
22 | ||
23 | /** | |
24 | * A new exception with the given message and cause | |
25 | * | |
26 | * @param message The message | |
27 | * @param cause The cause | |
28 | */ | |
29 | public JewelRuntimeException(final String message, final Throwable cause) | |
30 | { | |
31 | 0 | super(message, cause); |
32 | 0 | } |
33 | ||
34 | /** | |
35 | * A new exception with the given message | |
36 | * | |
37 | * @param message The message | |
38 | */ | |
39 | public JewelRuntimeException(final String message) | |
40 | { | |
41 | 86 | super(message); |
42 | 86 | } |
43 | ||
44 | /** | |
45 | * A new exception with the given cause | |
46 | * | |
47 | * @param cause The cause | |
48 | */ | |
49 | public JewelRuntimeException(final Throwable cause) | |
50 | { | |
51 | 0 | super(cause); |
52 | 0 | } |
53 | } |