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:
Enclosing class:
public static class FrontendUtils.CommandExecutionException extends Exception
Thrown when the command execution fails.
See Also:
-
-
Constructor Summary
Constructors Constructor Description CommandExecutionException(int processExitCode)
Constructs an exception telling what code the command execution process was exited with.
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.
CommandExecutionException(Throwable cause)
Constructs an exception telling what was the original exception the command execution process failed with.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
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 codeoutput
- the output from the commanderrorOutput
- 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.
-
-