public class ExceptionalExecution extends ExecutionOutcome
Modifier and Type | Field and Description |
---|---|
private java.lang.Throwable |
exception
The execution that caused the this ExceptionalExecution.
|
output
Constructor and Description |
---|
ExceptionalExecution(java.lang.Throwable exception,
long executionTimeNanos)
Creates an ExceptionalExecution.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getException()
Return the exception.
|
java.lang.String |
toString()
Warning: this method calls toString() of code under test, which may have arbitrary behavior.
|
get_output, getExecutionTimeNanos, set_output
private final java.lang.Throwable exception
public ExceptionalExecution(java.lang.Throwable exception, long executionTimeNanos)
exception
- the exception that was thrownexecutionTimeNanos
- the execution time, in nanosecondspublic java.lang.Throwable getException()
public java.lang.String toString()
toString
in class java.lang.Object