org.glassfish.internal.embedded
Class LifecycleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
protected LifecycleException()
          Constructs a LifecycleException with no detail message.
protected LifecycleException(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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

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)


Copyright © 2012 GlassFish Community. All Rights Reserved.