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.frontend.
Interface FallibleCommand
-
All Known Implementing Classes:
AbstractTaskClientGenerator, NodeTasks, NodeUpdater, TaskCopyFrontendFiles, TaskCopyLocalFrontendFiles, TaskGenerateConnect, TaskGenerateIndexHtml, TaskGenerateIndexTs, TaskGenerateOpenApi, TaskGeneratePackageJson, TaskGenerateTsConfig, TaskGenerateTsDefinitions, TaskRunNpmInstall, TaskUpdateImports, TaskUpdatePackages, TaskUpdateWebpack
public interface FallibleCommand
A generic command which may fail.
Note that this interface is not serializable and should not be used in a web application.
Since:
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
-
-