Class ExecuteException

    • Constructor Detail

      • 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 Detail

      • 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