Package org.jbehave.core.failures
Class UUIDExceptionWrapper
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jbehave.core.failures.UUIDExceptionWrapper
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OutcomesTable.OutcomesFailed,PendingStepFound,PendingStepsFound,StepFailed
public class UUIDExceptionWrapper extends RuntimeException
Wraps an exception by adding anUUID. This allows a unique identifier to be used repeatedly to represent the exception throw in a step failure throughout the reports. In particular, it allows failing scenario screenshots to be linked to from the HTML report.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UUIDExceptionWrapper()UUIDExceptionWrapper(String s)UUIDExceptionWrapper(String message, Throwable cause)UUIDExceptionWrapper(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getUUID
public UUID getUUID()
-
-