-
- All Implemented Interfaces:
-
java.io.Serializable
public final class StreamAggregateException extends StreamClientException
Exception representing multiple errors that occurred during a single operation.
This is useful when a single logical operation results in multiple underlying failures, such as parallel network requests or batch processing. It aggregates the individual exceptions for later inspection.
-
-
Constructor Summary
Constructors Constructor Description StreamAggregateException(String message, List<Throwable> causes)
-
Method Summary
Modifier and Type Method Description final List<Throwable>getCauses()ThrowablegetCause()StringgetMessage()-
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-