Class ConcurrentRefUpdateException

All Implemented Interfaces:
Serializable

public class ConcurrentRefUpdateException extends GitAPIException
Exception thrown when a command wants to update a ref but failed because another process is accessing (or even also updating) the ref.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getRef

      public Ref getRef()
      Get Ref
      Returns:
      the Ref which was tried to by updated
    • getResult

      public RefUpdate.Result getResult()
      Get result
      Returns:
      the result which was returned by RefUpdate.update() and which caused this error