Class ToolException

    • Constructor Detail

      • ToolException

        public ToolException()
      • ToolException

        public ToolException​(String message)
        Parameters:
        message - the exception message
      • ToolException

        public ToolException​(String message,
                             FS.ExecutionResult result,
                             boolean commandExecutionError)
        Parameters:
        message - the exception message
        result - the execution result
        commandExecutionError - is command execution error happened ?
      • ToolException

        public ToolException​(String message,
                             Throwable cause)
        Parameters:
        message - the exception message
        cause - the cause for throw
      • ToolException

        public ToolException​(Throwable cause)
        Parameters:
        cause - the cause for throw
    • Method Detail

      • isResult

        public boolean isResult()
        Returns:
        true if result is valid, false else
      • isCommandExecutionError

        public boolean isCommandExecutionError()
        Returns:
        true if command execution error appears, false otherwise
      • getResultStderr

        public String getResultStderr()
        Returns:
        the result Stderr
      • getResultStdout

        public String getResultStdout()
        Returns:
        the result Stdout