Package org.glassfish.internal.embedded
Class LifecycleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.glassfish.internal.embedded.LifecycleException
- All Implemented Interfaces:
Serializable
Exception thrown when a web container component fails to start or
stop.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a LifecycleException with no detail message.protectedLifecycleException(String message) Constructs a LifecycleException with the specified detail message.LifecycleException(String message, Throwable cause) Constructs a LifecycleException with the specified detail message and cause.LifecycleException(Throwable cause) Constructs a LifecycleException with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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 toinitCause. -
LifecycleException
Constructs a LifecycleException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause.- Parameters:
message- the detail message
-
LifecycleException
Constructs a LifecycleException with the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-
LifecycleException
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 theThrowable.getCause()method)
-