public class CompositeException extends RuntimeException
Exception collecting several causes.
Uses getCauses() to retrieves the individual causes.UniAndGroup,
Serialized Form| Constructor and Description |
|---|
CompositeException(CompositeException other,
Throwable toBeAppended) |
CompositeException(List<Throwable> causes) |
CompositeException(Throwable... causes) |
| Modifier and Type | Method and Description |
|---|---|
List<Throwable> |
getCauses() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CompositeException(Throwable... causes)
public CompositeException(CompositeException other, Throwable toBeAppended)
public String getMessage()
getMessage in class ThrowableCopyright © 2019–2020 SmallRye. All rights reserved.