External Command Receiver Method Error
An error thrown when one or more of the command accepting methods are marked external
in the CommandHandlingClass.
Although technically it's possible for entities like commanders to declare their command substitution methods as external, there is no notion of "external" commands in the system, and, to avoid confusion, such declarations should be avoided.
Example of a faulty method:
@Command
public StartProject on(@External CreateProject command) { ... }
Content copied to clipboard
Constructors
Link copied to clipboard
public void ExternalCommandReceiverMethodError(CommandHandlingClass<? extends Object, ? extends Object> classWithViolation, Collection<? extends CommandAcceptingMethod<? extends Object, ? extends Object>> invalidMethods)
Creates a new exception for the command handler that violates the
@Command
semantic.