com.vaadin.flow.server.frontend.

Class FrontendUtils.CommandExecutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vaadin.flow.server.frontend.FrontendUtils.CommandExecutionException

All Implemented Interfaces:

Serializable

Enclosing class:

FrontendUtils

public static class FrontendUtils.CommandExecutionException extends Exception

Thrown when the command execution fails.

See Also:

  • Constructor Details

    • CommandExecutionException

      public CommandExecutionException(int processExitCode)

      Constructs an exception telling what code the command execution process was exited with.

      Parameters:

      processExitCode - process exit code

    • CommandExecutionException

      public CommandExecutionException(int processExitCode, String output, String errorOutput)

      Constructs an exception telling what code the command execution process was exited with and the output that it produced.

      Parameters:

      processExitCode - process exit code

      output - the output from the command

      errorOutput - the error output from the command

    • CommandExecutionException

      public CommandExecutionException(Throwable cause)

      Constructs an exception telling what was the original exception the command execution process failed with.

      Parameters:

      cause - the cause exception of process failure.