Class ExecuteException

All Implemented Interfaces:
Serializable

public class ExecuteException extends IOException
An exception indicating that the executing a subprocesses failed.
Version:
$Id: ExecuteException.java 1636056 2014-11-01 21:12:52Z ggregory $
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Comment for serialVersionUID.
      See Also:
    • cause

      private final Throwable cause
      The underlying cause of this exception.
    • exitValue

      private final int exitValue
      The exit value returned by the failed process
  • Constructor Details

    • ExecuteException

      public ExecuteException(String message, int exitValue)
      Construct 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)
      Construct 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

    • getCause

      public Throwable getCause()
      Return the underlying cause of this exception (if any).
      Overrides:
      getCause in class Throwable
    • getExitValue

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