Class MultipleFailuresException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.ascopes.protobufmavenplugin.utils.MultipleFailuresException
- All Implemented Interfaces:
Serializable
Exception that gets raised when one or more concurrent tasks fail.
- Since:
- 2.2.0
- Author:
- Ashley Scopes
- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
create
Initialise this exception.- Parameters:
exceptions
- the exceptions that were thrown. Must have at least one item.- Returns:
- the wrapper exception.
- Throws:
NoSuchElementException
- if an empty list was provided.
-