This class is NOT threadsafe.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Throwable | Returns: null if there are no wrapped throwables, the Throwable if
there is a single wrapped throwable or the current instance of
there are multiple wrapped throwables
|
| public List | |
| public int | |
| public String | toString()
Overrides java. Overrides the default implementation to provide a concatenation of the messages associated with each of the wrapped throwables. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| throwables | back to summary |
|---|---|
| private List<Throwable> throwables | |
| MultiThrowable | back to summary |
|---|---|
| public MultiThrowable() | |
| add | back to summary |
|---|---|
| public void add(Throwable t) Add a throwable to the list of wrapped throwables.
| |
| getThrowable | back to summary |
|---|---|
public Throwable getThrowable()
| |
| getThrowables | back to summary |
|---|---|
| public List | |
| size | back to summary |
|---|---|
public int size()
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Overrides the default implementation to provide a concatenation of the messages associated with each of the wrapped throwables. Note that the format of the returned String is not guaranteed to be fixed and may change in a future release.
| |