Class SoftAssertionError

  • All Implemented Interfaces:
    Serializable

    public class SoftAssertionError
    extends AssertionError
    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:
    Serialized Form
    • Constructor Detail

      • SoftAssertionError

        public SoftAssertionError​(List<String> errors)
        Creates a new SoftAssertionError.
        Parameters:
        errors - the causal AssertionError error messages in the order that they were thrown
    • Method Detail

      • getErrors

        public List<String> getErrors()
        Returns the causal AssertionError error messages in the order that they were thrown.
        Returns:
        the list of error messages