Package org.picocontainer.monitors
Class LifecycleComponentMonitor.LifecycleFailuresException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.picocontainer.PicoException
-
- org.picocontainer.monitors.LifecycleComponentMonitor.LifecycleFailuresException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- LifecycleComponentMonitor
public final class LifecycleComponentMonitor.LifecycleFailuresException extends PicoException
Subclass ofPicoException
that is thrown when the collected lifecycle failures need to be be collectively rethrown.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LifecycleFailuresException(List<RuntimeException> lifecycleFailures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<RuntimeException>
getFailures()
String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
LifecycleFailuresException
public LifecycleFailuresException(List<RuntimeException> lifecycleFailures)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getFailures
public Collection<RuntimeException> getFailures()
-
-