|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
RecordingFailedException.java | 0% | 0% | 0% | 0% |
|
1 |
package abbot.editor.recorder;
|
|
2 |
|
|
3 |
public class RecordingFailedException extends RuntimeException { |
|
4 |
private Throwable reason = null; |
|
5 | 0 |
public RecordingFailedException(String msg) {
|
6 | 0 |
super(msg);
|
7 |
} |
|
8 | 0 |
public RecordingFailedException(Throwable thr) {
|
9 | 0 |
super(thr.getMessage());
|
10 | 0 |
reason = thr; |
11 |
} |
|
12 | 0 |
public Throwable getReason() { return reason != null ? reason : this; } |
13 |
} |
|
14 |
|
|