• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

devonfw / IDEasy / 11892982640

18 Nov 2024 01:01PM UTC coverage: 67.276% (-0.006%) from 67.282%
11892982640

Pull #702

github

web-flow
Merge 5b12a1574 into 2966a61ee
Pull Request #702: #81: Implement ToolCommandlet for Kubernetes

2461 of 3999 branches covered (61.54%)

Branch coverage included in aggregate %.

6406 of 9181 relevant lines covered (69.77%)

3.08 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
cli/src/main/java/com/devonfw/tools/ide/cli/CliProcessException.java
1
package com.devonfw.tools.ide.cli;
2

3
import com.devonfw.tools.ide.process.ProcessResult;
4

5
/**
6
 * {@link CliException} that is thrown if a process failed (external tool executed) but we assume this is an error of the end-user.
7
 *
8
 * @see com.devonfw.tools.ide.process.ProcessErrorHandling#THROW_CLI
9
 */
10
public final class CliProcessException extends CliException {
11

12
  private final ProcessResult processResult;
13

14
  /**
15
   * The constructor.
16
   */
17
  public CliProcessException(String message, ProcessResult processResult) {
18

19
    super(message, processResult.getExitCode());
×
20
    this.processResult = processResult;
×
21
  }
×
22

23
  /**
24
   * @return the {@link ProcessResult}.
25
   */
26
  public ProcessResult getProcessResult() {
27

28
    return this.processResult;
×
29
  }
30
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc