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:
  • Field Details

    • _command

      protected Undoable _command
  • Constructor Details

    • CommandCommandRuntimeException

      public CommandCommandRuntimeException(String aMessage, Undoable aCommand, String aErrorCode)
      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

      public CommandCommandRuntimeException(String aMessage, Undoable aCommand, Throwable aCause)
      Parameters:
      aCommand - The command involved in this exception.
    • CommandCommandRuntimeException

      public CommandCommandRuntimeException(String aMessage, Undoable aCommand)
      Parameters:
      aCommand - The command involved in this exception.
    • CommandCommandRuntimeException

      public CommandCommandRuntimeException(Undoable aCommand, Throwable aCause, String aErrorCode)
      Parameters:
      aCommand - The command involved in this exception.
    • CommandCommandRuntimeException

      public CommandCommandRuntimeException(Undoable aCommand, Throwable aCause)
      Parameters:
      aCommand - The command involved in this exception.
  • Method Details

    • getUndoable

      public Undoable getUndoable()
      Retrieves the undoable from the undoable property.
      Specified by:
      getUndoable in interface UndoableAccessor
      Returns:
      The undoable stored by the undoable property.
    • getPatternArguments

      public Object[] getPatternArguments()
      Specified by:
      getPatternArguments in interface org.refcodes.exception.Trap