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
public class LifecycleException extends Exception
Exception thrown when a web container component fails to start or stop.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLifecycleException()Constructs 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 Detail
-
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
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 toinitCause.- 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 messagecause- the cause (which is saved for later retrieval by theThrowable.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 theThrowable.getCause()method)
-
-