Skip to content

Commit 2e1b85f

Browse files
author
TheSnoozer
committed
improve java-doc
1 parent b9388f9 commit 2e1b85f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/pl/project13/core/NativeGitProvider.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,8 @@ public interface ProcessRunner {
391391
* @param nativeGitTimeoutInMs the timeout in milliseconds before the command get's terminated
392392
* @param command the command to execute
393393
* @return the output obtained from stdout by running the command
394-
* @throws IOException the command execution failed
394+
* @throws IOException if any underlying IOError occurred
395+
* @throws GitCommitIdExecutionException the command execution failed
395396
*/
396397
String run(File directory, long nativeGitTimeoutInMs, String command) throws IOException, GitCommitIdExecutionException;
397398

@@ -401,7 +402,8 @@ public interface ProcessRunner {
401402
* @param nativeGitTimeoutInMs the timeout in milliseconds before the command get's terminated
402403
* @param command the command to execute
403404
* @return false if the output of the command contains at least one line on stdout, true otherwise
404-
* @throws IOException the command execution failed
405+
* @throws IOException if any underlying IOError occurred
406+
* @throws GitCommitIdExecutionException the command execution failed
405407
*/
406408
boolean runEmpty(File directory, long nativeGitTimeoutInMs, String command) throws IOException, GitCommitIdExecutionException;
407409
}

0 commit comments

Comments
 (0)