public class MultipleFailuresError extends AssertionError
MultipleFailuresError
is an AssertionError
which
aggregates multiple AssertionErrors
thrown in a given context
(i.e., typically within the invocation of a single test).Constructor and Description |
---|
MultipleFailuresError(String heading,
List<? extends Throwable> failures) |
Modifier and Type | Method and Description |
---|---|
List<Throwable> |
getFailures() |
String |
getMessage() |
boolean |
hasFailures() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public String getMessage()
getMessage
in class Throwable
public boolean hasFailures()