|
Apache Tomcat 7.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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 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) |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
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 String message
protected Throwable throwable
Constructor Detail |
---|
public LifecycleException()
public LifecycleException(String message)
message
- Message describing this exceptionpublic LifecycleException(Throwable throwable)
throwable
- Throwable that caused this exceptionpublic LifecycleException(String message, Throwable throwable)
message
- Message describing this exceptionthrowable
- Throwable that caused this exceptionMethod Detail |
---|
public String getMessage()
getMessage
in class Throwable
public Throwable getThrowable()
public String toString()
toString
in class Throwable
|
Apache Tomcat 7.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |