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.CommandCommandRuntimeExceptionNested 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.ErrorCodePropertyNested 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, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.refcodes.exception.Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Field Details
-
_command
-
-
Constructor Details
-
CommandCommandRuntimeException
-
CommandCommandRuntimeException
-
CommandCommandRuntimeException
-
CommandCommandRuntimeException
-
CommandCommandRuntimeException
-
CommandCommandRuntimeException
-
-
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 interfaceorg.refcodes.exception.Trap
-