Class FrontendUtils.CommandExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.jmix.flowui.devserver.frontend.FrontendUtils.CommandExecutionException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FrontendUtils
Thrown when the command execution fails.
- See Also:
-
Constructor Summary
ConstructorDescriptionCommandExecutionException
(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.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 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
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
Constructs an exception telling what was the original exception the command execution process failed with.- Parameters:
cause
- the cause exception of process failure.
-