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:
java.io.Serializable
public class SoftAssertionError extends java.lang.AssertionError
An AssertionError that contains the error messages of the one or more AssertionErrors that caused this exception to be thrown.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.String>
errors
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description SoftAssertionError(java.util.List<java.lang.String> errors)
Creates a new SoftAssertionError.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getErrors()
Returns the causal AssertionError error messages in the order that they were thrown.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
errors
private final java.util.List<java.lang.String> errors
-
-