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