public class StepFailure extends Object
StepFailure holds a description of the failed test step and the
exception that was thrown while running it. In most cases the Description
will be of a single test step.| Constructor and Description |
|---|
StepFailure(ExecutedStepDescription description,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
ExecutedStepDescription |
getDescription() |
Throwable |
getException() |
Class<? extends Throwable> |
getExceptionClass() |
String |
getMessage() |
StackTraceElement[] |
getStackTraceElements() |
public StepFailure(ExecutedStepDescription description, Throwable cause)
public ExecutedStepDescription getDescription()
public Throwable getException()
public String getMessage()
public StackTraceElement[] getStackTraceElements()
Copyright © 2023. All rights reserved.