Class InvalidResultException

    • Field Detail

      • result

        private final ProcessResult result
        Actual exit value and process output.
    • Constructor Detail

      • InvalidResultException

        public InvalidResultException​(java.lang.String message,
                                      ProcessResult result)
        Parameters:
        message - the detail message of the exception
        result - result of execution (contains also the exit value)
    • Method Detail

      • getResult

        public ProcessResult getResult()
        Returns:
        actual process result.
      • getExitValue

        public int getExitValue()
        Returns:
        the exit value of the finished process.
      • exitValue

        public int exitValue()
        Deprecated.
        Returns:
        the exit value of the finished process.