Class Failure
- java.lang.Object
-
- io.vertx.reactivex.ext.unit.report.Failure
-
- All Implemented Interfaces:
RxDelegate
public class Failure extends Object implements RxDelegate
A failure provides the details of a failure that happened during the execution of a test case. The failure can be:- an assertion failure: an assertion failed
- an error failure: an expected error occured
NOTE: This class has been automatically generated from the
originalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<Failure>__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)FailuregetDelegate()inthashCode()booleanisError()Stringmessage()static FailurenewInstance(Failure arg)StringstackTrace()StringtoString()
-
-
-
Method Detail
-
getDelegate
public Failure getDelegate()
- Specified by:
getDelegatein interfaceRxDelegate
-
isError
public boolean isError()
- Returns:
- true if the failure is an error failure otherwise it is an assertion failure
-
message
public String message()
- Returns:
- the error message
-
stackTrace
public String stackTrace()
- Returns:
- the stack trace
-
-