Class AggregateRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bouncycastle.util.AggregateRuntimeException
- All Implemented Interfaces:
Serializable
A
RuntimeException that carries several underlying exceptions rather than a single
cause - for example the complete set of problems found when reviewing a malformed structure,
where surfacing only the first would lose information.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateRuntimeException(String message, List exceptions) Base constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturn the exceptions that make up this aggregate.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AggregateRuntimeException
-
-
Method Details
-
getExceptions
Return the exceptions that make up this aggregate.- Returns:
- an unmodifiable list of the aggregated exceptions, in the order supplied.
-