MCPcopy Create free account
hub / github.com/BoltsFramework/Bolts-Java / AggregateException

Class AggregateException

Bolts/src/bolts/AggregateException.java:17–34  ·  view source on GitHub ↗

Aggregates Exceptions that may be thrown in the process of a task's execution.

Source from the content-addressed store, hash-verified

15 * Aggregates Exceptions that may be thrown in the process of a task's execution.
16 */
17public class AggregateException extends Exception {
18 private static final long serialVersionUID = 1L;
19
20 private List<Exception> errors;
21
22 public AggregateException(List<Exception> errors) {
23 super("There were multiple errors.");
24
25 this.errors = errors;
26 }
27
28 /**
29 * Returns the list of errors that this exception encapsulates.
30 */
31 public List<Exception> getErrors() {
32 return errors;
33 }
34}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected