Serializable
public 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, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CompoundException(Collection<Throwable> why)
why
- Two or more exceptions that may have been the problem.Copyright © 2018. All rights reserved.