51Degrees Pipeline Java  4.1

51Degrees Pipeline for Java

fiftyone.pipeline.exceptions.AggregateException Class Reference

Detailed Description

Aggregation of multiple exceptions.

All exceptions which caused an instance of this are added to the suppressedExceptions list and can be retrieved via the getSuppressed() method.

Inheritance diagram for fiftyone.pipeline.exceptions.AggregateException:

[legend]

Collaboration diagram for fiftyone.pipeline.exceptions.AggregateException:

[legend]

Public Member Functions

 AggregateException (String message, Collection< FlowError > causes)
Construct a new instance. More...
 AggregateException (Collection< FlowError > causes)
Construct a new instance with no message. More...

Constructor & Destructor Documentation

◆ AggregateException() [1/2]

fiftyone.pipeline.exceptions.AggregateException.AggregateException ( String   message,
Collection< FlowError >   causes  
)

Construct a new instance.

Parameters
message - the message to give to the exception
causes - multiple causes to be contained in the exception

◆ AggregateException() [2/2]

fiftyone.pipeline.exceptions.AggregateException.AggregateException ( Collection< FlowError >   causes )

Construct a new instance with no message.

Parameters
causes - multiple causes to be contained in the exception