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 SummaryModifier 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.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Method Details- 
getThrowablesReturns the list of throwables that are wrapped in this exception.- Returns:
- The list of throwables, never null.
 
- 
mayThrowHelper 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
 
 
-