@ThreadSafe public class MultiException extends RuntimeException
| Constructor and Description |
|---|
MultiException() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Throwable throwable) |
String |
getMessage() |
boolean |
isEmpty() |
void |
throwIfNotEmpty()
If this
MultiException is empty then no action is taken,
if it contains a single Throwable that is thrown,
otherwise this MultiException is thrown. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic boolean isEmpty()
public void throwIfNotEmpty()
MultiException is empty then no action is taken,
if it contains a single Throwable that is thrown,
otherwise this MultiException is thrown.public String getMessage()
getMessage in class ThrowableCopyright © 2017. All rights reserved.