public class LifecycleException extends Exception
Modifier | Constructor and Description |
---|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected LifecycleException()
initCause
.protected LifecycleException(String message)
initCause
.message
- the detail messagepublic LifecycleException(String message, Throwable cause)
message
- the detail messagecause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method)public LifecycleException(Throwable cause)
(cause == null ? null : cause.toString())(which typically contains the class and detail message of cause).
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method)Copyright © 2019. All rights reserved.