public class ConcurrentRefUpdateException extends GitAPIException
RefUpdate.Result.LOCK_FAILURE
,
Serialized FormModifier and Type | Field and Description |
---|---|
private RefUpdate.Result |
rc |
private Ref |
ref |
private static long |
serialVersionUID |
Constructor and Description |
---|
ConcurrentRefUpdateException(java.lang.String message,
Ref ref,
RefUpdate.Result rc)
Constructor for ConcurrentRefUpdateException.
|
ConcurrentRefUpdateException(java.lang.String message,
Ref ref,
RefUpdate.Result rc,
java.lang.Throwable cause)
Constructor for ConcurrentRefUpdateException.
|
Modifier and Type | Method and Description |
---|---|
Ref |
getRef()
Get
Ref |
RefUpdate.Result |
getResult()
Get result
|
private static final long serialVersionUID
private RefUpdate.Result rc
private Ref ref
public ConcurrentRefUpdateException(java.lang.String message, Ref ref, RefUpdate.Result rc, java.lang.Throwable cause)
message
- error messageref
- a Ref
rc
- a RefUpdate.Result
cause
- a Throwable
public ConcurrentRefUpdateException(java.lang.String message, Ref ref, RefUpdate.Result rc)
message
- error messageref
- a Ref
rc
- a RefUpdate.Result
public RefUpdate.Result getResult()
RefUpdate.update()
and which caused
this error