1 | |
package org.jbehave.core.failures; |
2 | |
|
3 | |
import java.util.UUID; |
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
@SuppressWarnings("serial") |
12 | |
public class UUIDExceptionWrapper extends RuntimeException { |
13 | |
|
14 | 103 | private UUID uuid = UUID.randomUUID(); |
15 | |
|
16 | |
public UUIDExceptionWrapper(String message, Throwable cause) { |
17 | 7 | super(message, cause); |
18 | 7 | } |
19 | |
|
20 | |
public UUIDExceptionWrapper(Throwable cause) { |
21 | 42 | super(cause); |
22 | 42 | } |
23 | |
|
24 | |
public UUIDExceptionWrapper(String s) { |
25 | 26 | super(s); |
26 | 26 | } |
27 | |
|
28 | 28 | public UUIDExceptionWrapper() { |
29 | 28 | } |
30 | |
|
31 | |
public UUID getUUID() { |
32 | 22 | return uuid; |
33 | |
} |
34 | |
|
35 | |
} |