com.vaadin.flow.server.

Interface FallibleCommand

  • All Superinterfaces:

    Serializable

    Deprecated. 

    this command is an internal command and is not supposed to be used in application code


    @Deprecated
    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()

      Deprecated. 

      Runs the given command.

    • Method Detail

      • execute

        void execute()
              throws ExecutionFailedException

        Deprecated. 

        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