org.jbehave.core.failures
Class UUIDExceptionWrapper

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jbehave.core.failures.UUIDExceptionWrapper
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OutcomesTable.OutcomesFailed, PendingStepFound, StepFailed

public class UUIDExceptionWrapper
extends RuntimeException

Wraps an exception by adding an UUID. 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
UUIDExceptionWrapper()
           
UUIDExceptionWrapper(String s)
           
UUIDExceptionWrapper(String message, Throwable cause)
           
UUIDExceptionWrapper(Throwable cause)
           
 
Method Summary
 UUID getUUID()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UUIDExceptionWrapper

public UUIDExceptionWrapper(String message,
                            Throwable cause)

UUIDExceptionWrapper

public UUIDExceptionWrapper(Throwable cause)

UUIDExceptionWrapper

public UUIDExceptionWrapper(String s)

UUIDExceptionWrapper

public UUIDExceptionWrapper()
Method Detail

getUUID

public UUID getUUID()


Copyright © 2003-2012. All Rights Reserved.