Class IncompleteHandlingException

All Implemented Interfaces:
Serializable

public class IncompleteHandlingException extends CommandException
Exception type that indicates that the invocation handling of a command was completed but did not issue any result (i.e. all the invocation handlers in the chain resulted into an empty Mono).
Since:
1.0
Version:
1.0
See Also:
  • Constructor Details

    • IncompleteHandlingException

      public IncompleteHandlingException(List<? extends Command<?>> chain, Invocation invocation)
      Creates a new instance.
      Parameters:
      chain - The command that was being executed.
      invocation - The invocation that triggered the command.
  • Method Details

    • getCommand

      @Pure public Command<?> getCommand()
      Retrieves the command that was invoked.
      Returns:
      The command that was invoked.
    • getExecutionChain

      @Pure public List<Command<?>> getExecutionChain()
      Retrieves the command chain that was being executed.
      Returns:
      The command chain that was being executed.
    • getInvocation

      @Pure public Invocation getInvocation()
      Retrieves the invocation that triggered the command.
      Returns:
      The invocation that triggered the command.