org.apache.catalina
Class LifecycleException
Exception
org.apache.catalina.LifecycleException
public final class LifecycleException
extends Exception
General purpose exception that is thrown to indicate a lifecycle related
problem. Such exceptions should generally be considered fatal to the
operation of the application containing this component.
Version:
- Craig R. McClanahan
protected String | message - The error message passed to our constructor (if any)
|
protected Throwable | throwable - The underlying exception or error passed to our constructor (if any)
|
LifecycleException() - Construct a new LifecycleException with no other information.
|
LifecycleException(String message) - Construct a new LifecycleException for the specified message.
|
LifecycleException(String message, Throwable throwable) - Construct a new LifecycleException for the specified message
and throwable.
|
LifecycleException(Throwable throwable) - Construct a new LifecycleException for the specified throwable.
|
String | getMessage() - Returns the message associated with this exception, if any.
|
Throwable | getThrowable() - Returns the throwable that caused this exception, if any.
|
String | toString() - Return a formatted string that describes this exception.
|
message
protected String message
The error message passed to our constructor (if any)
throwable
protected Throwable throwable
The underlying exception or error passed to our constructor (if any)
LifecycleException
public LifecycleException()
Construct a new LifecycleException with no other information.
LifecycleException
public LifecycleException(String message)
Construct a new LifecycleException for the specified message.
message
- Message describing this exception
LifecycleException
public LifecycleException(String message,
Throwable throwable)
Construct a new LifecycleException for the specified message
and throwable.
message
- Message describing this exceptionthrowable
- Throwable that caused this exception
LifecycleException
public LifecycleException(Throwable throwable)
Construct a new LifecycleException for the specified throwable.
throwable
- Throwable that caused this exception
getMessage
public String getMessage()
Returns the message associated with this exception, if any.
getThrowable
public Throwable getThrowable()
Returns the throwable that caused this exception, if any.
toString
public String toString()
Return a formatted string that describes this exception.
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.