Class LifecycleComponentMonitor.LifecycleFailuresException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    LifecycleComponentMonitor

    public final class LifecycleComponentMonitor.LifecycleFailuresException
    extends PicoException
    Subclass of PicoException that is thrown when the collected lifecycle failures need to be be collectively rethrown.
    Author:
    Paul Hammant, Mauro Talevi
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      LifecycleFailuresException​(java.util.List<java.lang.RuntimeException> lifecycleFailures)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<java.lang.RuntimeException> getFailures()  
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LifecycleFailuresException

        public LifecycleFailuresException​(java.util.List<java.lang.RuntimeException> lifecycleFailures)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • getFailures

        public java.util.Collection<java.lang.RuntimeException> getFailures()