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:
  • Constructor Details

    • 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 Details

    • getErrors

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