@Deprecated public interface FallibleCommand extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
execute()
Deprecated.
Runs the given command.
|
void execute() throws ExecutionFailedException
If execution fails then the command may throw an exception which may give a message and a cause of the failure.
ExecutionFailedException
- if there is an execution errorCopyright © 2023. All rights reserved.