- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.refcodes.exception.AbstractException
-
- org.refcodes.command.CommandRuntimeException
-
- All Implemented Interfaces:
Serializable
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
- Direct Known Subclasses:
NoExceptionAvailableRuntimeException
,NoResultAvailableRuntimeException
,NotUndoableRuntimeException
,NotYetExecutedRuntimeException
public abstract class CommandRuntimeException extends org.refcodes.exception.AbstractException
The Class CommandRuntimeException.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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 CommandRuntimeException(String message)
Instantiates a new command runtime exception.CommandRuntimeException(String aMessage, String aErrorCode)
Instantiates a new command runtime exception.CommandRuntimeException(String message, Throwable cause)
Instantiates a new command runtime exception.CommandRuntimeException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new command runtime exception.CommandRuntimeException(Throwable cause)
Instantiates a new command runtime exception.CommandRuntimeException(Throwable aCause, String aErrorCode)
Instantiates a new command runtime 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
-
CommandRuntimeException
public CommandRuntimeException(String aMessage, String aErrorCode)
Instantiates a new command runtime exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
CommandRuntimeException
public CommandRuntimeException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new command runtime exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
CommandRuntimeException
public CommandRuntimeException(String message, Throwable cause)
Instantiates a new command runtime exception.- Parameters:
message
- the messagecause
- the cause
-
CommandRuntimeException
public CommandRuntimeException(String message)
Instantiates a new command runtime exception.- Parameters:
message
- the message
-
CommandRuntimeException
public CommandRuntimeException(Throwable aCause, String aErrorCode)
Instantiates a new command runtime exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
CommandRuntimeException
public CommandRuntimeException(Throwable cause)
Instantiates a new command runtime exception.- Parameters:
cause
- the cause
-
-