Package org.eclipse.aether
Class MultiRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.aether.MultiRuntimeException
- All Implemented Interfaces:
 Serializable
Runtime exception to be thrown when multiple actions were executed and one or more failed. To be used when no
 fallback on resolver side is needed or is possible.
- Since:
 - 1.9.0
 - See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionReturns the list of throwables that are wrapped in this exception.static voidHelper method that receives a (non-null) message and (non-null) list of throwable, and following happens: if list is empty - nothing if list not empty -MultiRuntimeExceptionis thrown wrapping all elementsMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Method Details
- 
getThrowables
Returns the list of throwables that are wrapped in this exception.- Returns:
 - The list of throwables, never 
null. 
 - 
mayThrow
Helper method that receives a (non-null) message and (non-null) list of throwable, and following happens:- if list is empty - nothing
 - if list not empty - 
MultiRuntimeExceptionis thrown wrapping all elements 
 
 -