public final class LifecycleException extends RuntimeException
| Modifier and Type | Field and Description |
|---|---|
protected Throwable |
cause
The underlying exception or error passed to our constructor (if any)
|
protected String |
message
The error message passed to our constructor (if any)
|
| Constructor and Description |
|---|
LifecycleException()
Construct a new LifecycleException with no other information.
|
LifecycleException(String message)
Construct a new LifecycleException for the specified message.
|
LifecycleException(String message,
Throwable cause)
Construct a new LifecycleException for the specified message and throwable.
|
LifecycleException(Throwable cause)
Construct a new LifecycleException for the specified throwable.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause()
Returns the throwable that caused this exception, if any.
|
String |
getMessage()
Returns the message associated with this exception, if any.
|
String |
toString()
Returns a formatted string that describes this exception.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceprotected String message
protected Throwable cause
public LifecycleException()
public LifecycleException(String message)
message - Message describing this exceptionpublic LifecycleException(Throwable cause)
cause - Throwable that caused this exceptionpublic String getMessage()
getMessage in class Throwablepublic Throwable getCause()
Copyright © 2011–2016 eXo Platform SAS. All rights reserved.