public class AggregatedException extends ITextException
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_DURING_EVENT_PROCESSING
Notifies that event processing failed.
|
Constructor and Description |
---|
AggregatedException(List<RuntimeException> aggregatedExceptions)
Creates an instance of aggregated exception based on the collection of exceptions.
|
AggregatedException(String message, List<RuntimeException> aggregatedExceptions)
Creates an instance of aggregated exception based on the collection of exceptions.
|
Modifier and Type | Method and Description |
---|---|
List<Exception> |
getAggregatedExceptions()
Gets a list of aggregated exceptions.
|
String |
getMessage()
Builds message for the exception including its own message and all messages from the aggregated exceptions.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String ERROR_DURING_EVENT_PROCESSING
public AggregatedException(List<RuntimeException> aggregatedExceptions)
aggregatedExceptions
- is a list of aggregated exceptions
public AggregatedException(String message, List<RuntimeException> aggregatedExceptions)
message
- the detail message
aggregatedExceptions
- is a list of aggregated exceptions
public String getMessage()
getMessage
in class Throwable
Copyright © 1998–2022 iText Group NV. All rights reserved.