Class ExecuteException

All Implemented Interfaces:
Serializable

public class ExecuteException extends IOException
An exception indicating that the executing a subprocesses failed.
See Also:
  • Constructor Details

    • ExecuteException

      public ExecuteException(String message, int exitValue)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - The detail message.
      exitValue - The exit value.
    • ExecuteException

      public ExecuteException(String message, int exitValue, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - The detail message.
      exitValue - The exit value.
      cause - The underlying cause.
  • Method Details

    • getExitValue

      public int getExitValue()
      Gets the exit value returned by the failed process.
      Returns:
      The exit value.