public class RefUpdateUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
executeChecked(org.eclipse.jgit.lib.BatchRefUpdate bru,
org.eclipse.jgit.revwalk.RevWalk rw)
Execute a batch ref update, throwing a checked exception if not all updates succeeded.
|
public static void executeChecked(org.eclipse.jgit.lib.BatchRefUpdate bru, org.eclipse.jgit.revwalk.RevWalk rw) throws java.io.IOException
bru
- batch update; should already have been executed.LockFailureException
- if the transaction was aborted due to lock failure; see checkResults(BatchRefUpdate)
for details.java.io.IOException
- if any result was not OK
.