|
Apache Tomcat 6.0.35 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.catalina.LifecycleException
public final class LifecycleException
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.
| Field Summary | |
|---|---|
protected java.lang.String |
message
The error message passed to our constructor (if any) |
protected java.lang.Throwable |
throwable
The underlying exception or error passed to our constructor (if any) |
| Constructor Summary | |
|---|---|
LifecycleException()
Construct a new LifecycleException with no other information. |
|
LifecycleException(java.lang.String message)
Construct a new LifecycleException for the specified message. |
|
LifecycleException(java.lang.String message,
java.lang.Throwable throwable)
Construct a new LifecycleException for the specified message and throwable. |
|
LifecycleException(java.lang.Throwable throwable)
Construct a new LifecycleException for the specified throwable. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
Returns the message associated with this exception, if any. |
java.lang.Throwable |
getThrowable()
Returns the throwable that caused this exception, if any. |
java.lang.String |
toString()
Return a formatted string that describes this exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String message
protected java.lang.Throwable throwable
| Constructor Detail |
|---|
public LifecycleException()
public LifecycleException(java.lang.String message)
message - Message describing this exceptionpublic LifecycleException(java.lang.Throwable throwable)
throwable - Throwable that caused this exception
public LifecycleException(java.lang.String message,
java.lang.Throwable throwable)
message - Message describing this exceptionthrowable - Throwable that caused this exception| Method Detail |
|---|
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.Throwable getThrowable()
public java.lang.String toString()
toString in class java.lang.Throwable
|
Apache Tomcat 6.0.35 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||