Package org.assertj.core.api
Class SoftAssertionError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.assertj.core.api.SoftAssertionError
- All Implemented Interfaces:
Serializable
An AssertionError that contains the error messages of the one or more AssertionErrors that caused this exception to
be thrown.
- Author:
- Brian Laframboise
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SoftAssertionError
Creates a new SoftAssertionError.- Parameters:
errors
- the causal AssertionError error messages in the order that they were thrown
-
-
Method Details
-
getErrors
Returns the causal AssertionError error messages in the order that they were thrown.- Returns:
- the list of error messages
-