Class ConcurrentRefUpdateException

  • All Implemented Interfaces:
    java.io.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:
    RefUpdate.Result.LOCK_FAILURE, Serialized Form
    • Constructor Detail

      • ConcurrentRefUpdateException

        public ConcurrentRefUpdateException​(java.lang.String message,
                                            Ref ref,
                                            RefUpdate.Result rc,
                                            java.lang.Throwable cause)
        Parameters:
        message -
        ref -
        rc -
        cause -
      • ConcurrentRefUpdateException

        public ConcurrentRefUpdateException​(java.lang.String message,
                                            Ref ref,
                                            RefUpdate.Result rc)
        Parameters:
        message -
        ref -
        rc -
    • Method Detail

      • getRef

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