Class BadCommandArgumentsException

  • All Implemented Interfaces:
    Serializable

    public final class BadCommandArgumentsException
    extends CommandException
    A command argument is not valid. The command's executor should check the arguments on the context before calling the command. For example if using a bad runtime execution context where element cannot be found in the index.
    See Also:
    Serialized Form
    • Constructor Detail

      • BadCommandArgumentsException

        public BadCommandArgumentsException​(Command<?,​?> command,
                                            Object argument,
                                            String message)
    • Method Detail

      • getArgument

        public Object getArgument()