Class LifecycleException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.glassfish.internal.embedded.LifecycleException
All Implemented Interfaces:
Serializable

public class LifecycleException extends Exception
Exception thrown when a web container component fails to start or stop.
See Also:
  • Constructor Details

    • LifecycleException

      protected LifecycleException()
      Constructs a LifecycleException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.
    • LifecycleException

      protected LifecycleException(String message)
      Constructs a LifecycleException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.
      Parameters:
      message - the detail message
    • LifecycleException

      public LifecycleException(String message, Throwable cause)
      Constructs a LifecycleException with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)
    • LifecycleException

      public LifecycleException(Throwable cause)
      Constructs a LifecycleException with the specified cause. The detail message is set to:
        (cause == null ? null : cause.toString())
      (which typically contains the class and detail message of cause).
      Parameters:
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)