Module org.refcodes.command
Package org.refcodes.command
Class CommandRuntimeException.CommandCommandRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.refcodes.exception.AbstractRuntimeException
org.refcodes.command.CommandRuntimeException
org.refcodes.command.CommandRuntimeException.CommandCommandRuntimeException
- All Implemented Interfaces:
Serializable
,UndoableAccessor
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
- Direct Known Subclasses:
NoExceptionAvailableRuntimeException
,NoResultAvailableRuntimeException
,NotUndoableRuntimeException
,NotYetExecutedRuntimeException
- Enclosing class:
- CommandRuntimeException
protected abstract static class CommandRuntimeException.CommandCommandRuntimeException
extends CommandRuntimeException
implements UndoableAccessor
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.refcodes.command.CommandRuntimeException
CommandRuntimeException.CommandCommandRuntimeException
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
Nested classes/interfaces inherited from interface org.refcodes.command.UndoableAccessor
UndoableAccessor.UndoableBuilder<CTX,
R, E extends Exception, B extends UndoableAccessor.UndoableBuilder<CTX, R, E, B>>, UndoableAccessor.UndoableMutator<CTX, R, E extends Exception>, UndoableAccessor.UndoableProperty<CTX, R, E extends Exception> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCommandCommandRuntimeException
(String aMessage, Undoable aCommand) CommandCommandRuntimeException
(String aMessage, Undoable aCommand, String aErrorCode) CommandCommandRuntimeException
(String aMessage, Undoable aCommand, Throwable aCause) CommandCommandRuntimeException
(String aMessage, Undoable aCommand, Throwable aCause, String aErrorCode) CommandCommandRuntimeException
(Undoable aCommand, Throwable aCause) CommandCommandRuntimeException
(Undoable aCommand, Throwable aCause, String aErrorCode) -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractRuntimeException
getErrorCode, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.refcodes.exception.Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Field Details
-
_command
-
-
Constructor Details
-
CommandCommandRuntimeException
- Parameters:
aCommand
- The command involved in this exception.
-
CommandCommandRuntimeException
public CommandCommandRuntimeException(String aMessage, Undoable aCommand, Throwable aCause, String aErrorCode) - Parameters:
aCommand
- The command involved in this exception.
-
CommandCommandRuntimeException
- Parameters:
aCommand
- The command involved in this exception.
-
CommandCommandRuntimeException
- Parameters:
aCommand
- The command involved in this exception.
-
CommandCommandRuntimeException
- Parameters:
aCommand
- The command involved in this exception.
-
CommandCommandRuntimeException
- Parameters:
aCommand
- The command involved in this exception.
-
-
Method Details
-
getUndoable
Retrieves the undoable from the undoable property.- Specified by:
getUndoable
in interfaceUndoableAccessor
- Returns:
- The undoable stored by the undoable property.
-
getPatternArguments
- Specified by:
getPatternArguments
in interfaceorg.refcodes.exception.Trap
-