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, ErrorCodeAccessor, 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 CommandRuntimeException
CommandRuntimeException.CommandCommandRuntimeExceptionNested classes/interfaces inherited from interface ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodePropertyNested classes/interfaces inherited from interface UndoableAccessor
UndoableAccessor.UndoableBuilder<CTX,R, E, B>, UndoableAccessor.UndoableMutator<CTX, R, E>, UndoableAccessor.UndoableProperty<CTX, R, E> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCommandCommandRuntimeException(String aMessage, Undoable aCommand) Instantiates the classCommandRuntimeException.CommandCommandRuntimeException.CommandCommandRuntimeException(String aMessage, Undoable aCommand, String aErrorCode) Instantiates the classCommandRuntimeException.CommandCommandRuntimeException.CommandCommandRuntimeException(String aMessage, Undoable aCommand, Throwable aCause) Instantiates the classCommandRuntimeException.CommandCommandRuntimeException.CommandCommandRuntimeException(String aMessage, Undoable aCommand, Throwable aCause, String aErrorCode) Instantiates the classCommandRuntimeException.CommandCommandRuntimeException.CommandCommandRuntimeException(Undoable aCommand, Throwable aCause) Instantiates the classCommandRuntimeException.CommandCommandRuntimeException.CommandCommandRuntimeException(Undoable aCommand, Throwable aCause, String aErrorCode) Instantiates the classCommandRuntimeException.CommandCommandRuntimeException. -
Method Summary
Methods inherited from class AbstractRuntimeException
getErrorCode, getMessageMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Field Details
-
_command
-
-
Constructor Details
-
CommandCommandRuntimeException
Instantiates the classCommandRuntimeException.CommandCommandRuntimeException.- Parameters:
aCommand- The command involved in this exception.- See Also:
-
CommandCommandRuntimeException
public CommandCommandRuntimeException(String aMessage, Undoable aCommand, Throwable aCause, String aErrorCode) Instantiates the classCommandRuntimeException.CommandCommandRuntimeException.- Parameters:
aCommand- The command involved in this exception.- See Also:
-
CommandCommandRuntimeException
Instantiates the classCommandRuntimeException.CommandCommandRuntimeException.- Parameters:
aCommand- The command involved in this exception.- See Also:
-
CommandCommandRuntimeException
Instantiates the classCommandRuntimeException.CommandCommandRuntimeException.- Parameters:
aCommand- The command involved in this exception.- See Also:
-
CommandCommandRuntimeException
Instantiates the classCommandRuntimeException.CommandCommandRuntimeException.- Parameters:
aCommand- The command involved in this exception.- See Also:
-
CommandCommandRuntimeException
Instantiates the classCommandRuntimeException.CommandCommandRuntimeException.- Parameters:
aCommand- The command involved in this exception.- See Also:
-
-
Method Details
-
getUndoable
Retrieves the undoable from the undoable property.- Specified by:
getUndoablein interfaceUndoableAccessor- Returns:
- The undoable stored by the undoable property.
-
getPatternArguments
- Specified by:
getPatternArgumentsin interfaceTrap
-