public final class LifecycleException extends Exception
Modifier and Type | Field and Description |
---|---|
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 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 throwable)
Construct a new LifecycleException for the specified message
and throwable.
|
LifecycleException(Throwable throwable)
Construct a new LifecycleException for the specified throwable.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
protected String message
protected Throwable throwable
public LifecycleException()
public LifecycleException(String message)
message
- Message describing this exceptionpublic LifecycleException(Throwable throwable)
throwable
- Throwable that caused this exceptionpublic String getMessage()
getMessage
in class Throwable
public Throwable getThrowable()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.