We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.
Interface FallibleCommand
-
All Superinterfaces:
All Known Implementing Classes:
NodeTasks, NodeUpdater, TaskCopyFrontendFiles, TaskCopyLocalFrontendFiles, TaskCreatePackageJson, TaskRunNpmInstall, TaskUpdateImports, TaskUpdatePackages, TaskUpdateWebpack
public interface FallibleCommand extends Serializable
A generic command which may fail.
Since:
2.0
Author:
Vaadin Ltd
-
-
Method Summary
All Methods Modifier and Type Method and Description void
execute()
Runs the given command.
-
-
-
Method Detail
-
execute
void execute() throws ExecutionFailedException
Runs the given command.
If execution fails then the command may throw an exception which may give a message and a cause of the failure.
Throws:
ExecutionFailedException
- if there is an execution error
-
-