- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.refcodes.exception.AbstractException
-
- org.refcodes.component.ComponentException
-
- org.refcodes.component.LifecycleException
-
- All Implemented Interfaces:
Serializable,org.refcodes.exception.ErrorCodeAccessor,org.refcodes.exception.Trap
- Direct Known Subclasses:
DestroyException,InitializeException,PauseException,ResumeException,StartException,StopException
public abstract class LifecycleException extends ComponentException
This exception is the base lifecycle exception .- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLifecycleException.LifecycleRuntimeExceptionThis exception is the base lifecycle exception .-
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
-
-
Constructor Summary
Constructors Constructor Description LifecycleException(String message)Instantiates a new lifecycle exception.LifecycleException(String aMessage, String aErrorCode)Instantiates a new lifecycle exception.LifecycleException(String message, Throwable cause)Instantiates a new lifecycle exception.LifecycleException(String aMessage, Throwable aCause, String aErrorCode)Instantiates a new lifecycle exception.LifecycleException(Throwable cause)Instantiates a new lifecycle exception.LifecycleException(Throwable aCause, String aErrorCode)Instantiates a new lifecycle exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
LifecycleException
public LifecycleException(String aMessage, String aErrorCode)
Instantiates a new lifecycle exception.- Parameters:
aMessage- the messageaErrorCode- the error code
-
LifecycleException
public LifecycleException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new lifecycle exception.- Parameters:
aMessage- the messageaCause- the causeaErrorCode- the error code
-
LifecycleException
public LifecycleException(String message, Throwable cause)
Instantiates a new lifecycle exception.- Parameters:
message- the messagecause- the cause
-
LifecycleException
public LifecycleException(String message)
Instantiates a new lifecycle exception.- Parameters:
message- the message
-
LifecycleException
public LifecycleException(Throwable aCause, String aErrorCode)
Instantiates a new lifecycle exception.- Parameters:
aCause- the causeaErrorCode- the error code
-
LifecycleException
public LifecycleException(Throwable cause)
Instantiates a new lifecycle exception.- Parameters:
cause- the cause
-
-