Package com.google.gerrit.server.git
Class LockFailureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.google.gerrit.server.git.LockFailureException
-
- All Implemented Interfaces:
Serializable
public class LockFailureException extends IOException
Thrown when updating a ref in Git fails with LOCK_FAILURE.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LockFailureException(String message, org.eclipse.jgit.lib.BatchRefUpdate batchRefUpdate)
LockFailureException(String message, org.eclipse.jgit.lib.RefUpdate refUpdate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableList<String>
getFailedRefs()
Subset of ref names that caused the lock failure.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getFailedRefs
public com.google.common.collect.ImmutableList<String> getFailedRefs()
Subset of ref names that caused the lock failure.
-
-