Package net.serenitybdd.screenplay
Class FailedConsequence
java.lang.Object
net.serenitybdd.screenplay.FailedConsequence
public class FailedConsequence
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description FailedConsequence(Consequence consequence, java.lang.Throwable cause)
-
Method Summary
Modifier and Type Method Description java.lang.Throwable
getCause()
Consequence
getConsequence()
void
throwException()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FailedConsequence
-
-
Method Details
-
getConsequence
-
getCause
public java.lang.Throwable getCause() -
throwException
public void throwException()
-