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 | 77 | private UUID uuid = UUID.randomUUID(); |
15 | |
|
16 | |
public UUIDExceptionWrapper(String message, Throwable cause) { |
17 | 3 | super(message, cause); |
18 | 3 | } |
19 | |
|
20 | |
public UUIDExceptionWrapper(Throwable cause) { |
21 | 38 | super(cause); |
22 | 38 | } |
23 | |
|
24 | |
public UUIDExceptionWrapper(String s) { |
25 | 17 | super(s); |
26 | 17 | } |
27 | |
|
28 | 19 | public UUIDExceptionWrapper() { |
29 | 19 | } |
30 | |
|
31 | |
public UUID getUUID() { |
32 | 17 | return uuid; |
33 | |
} |
34 | |
|
35 | |
} |