Class MultipleFailuresError

    • Constructor Detail

      • MultipleFailuresError

        public MultipleFailuresError​(String heading,
                                     List<? extends Throwable> failures)
        Constructs an MultipleFailuresError with the supplied heading and failures.
        heading - the message heading; a default value will be used if null or blank
        failures - the list of failures; must not be null or contain null elements
    • Method Detail

      • getFailures

        public List<Throwable> getFailures()
        Returns the list of failures contained in this error.
      • hasFailures

        public boolean hasFailures()
        Returns whether this error contains any failures.