Class RefAlreadyExistsException

All Implemented Interfaces:
Serializable

public class RefAlreadyExistsException extends GitAPIException
Thrown when trying to create a Ref with the same name as an existing one
See Also:
  • Field Details

  • Constructor Details

    • RefAlreadyExistsException

      public RefAlreadyExistsException(String message)
      Creates a new instance with the given message.
      Parameters:
      message - error message
    • RefAlreadyExistsException

      public RefAlreadyExistsException(String message, @Nullable RefUpdate.Result updateResult)
      Constructor for RefAlreadyExistsException
      Parameters:
      message - error message
      updateResult - that caused the exception; may be null
      Since:
      5.11
  • Method Details