public class CompoundException extends Exception
| Constructor and Description |
|---|
CompoundException(Collection<Throwable> why)
Constructs an exception detailing many potential reasons for failure.
|
| Modifier and Type | Method and Description |
|---|---|
List<Throwable> |
getAllCauses()
Get the complete list of reasons why this failure happened.
|
addSuppressed, 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 © 2014. All rights reserved.