Serializablepublic class CompoundException extends Exception
| Constructor | Description |
|---|---|
CompoundException(Collection<Throwable> why) |
Constructs an exception detailing many potential reasons for failure.
|
| Modifier and Type | Method | Description |
|---|---|---|
List<Throwable> |
getAllCauses() |
Get the complete list of reasons why this failure happened.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CompoundException(Collection<Throwable> why)
why - Two or more exceptions that may have been the problem.Copyright © 2018. All rights reserved.