Class RepositoryExistsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.google.gerrit.server.git.RepositoryExistsException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RepositoryCaseMismatchException

public class RepositoryExistsException extends IOException
Thrown when trying to create a repository that exist.
See Also:
  • Constructor Details

    • RepositoryExistsException

      public RepositoryExistsException(Project.NameKey projectName, String reason)
      Parameters:
      projectName - name of the project that cannot be created
      reason - reason why the project cannot be created
    • RepositoryExistsException

      public RepositoryExistsException(Project.NameKey projectName)
      Parameters:
      projectName - name of the project that cannot be created