Package com.google.gerrit.server.git
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RepositoryExistsException(Project.NameKey projectName)
RepositoryExistsException(Project.NameKey projectName, String reason)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RepositoryExistsException
public RepositoryExistsException(Project.NameKey projectName, String reason)
- Parameters:
projectName
- name of the project that cannot be createdreason
- reason why the project cannot be created
-
RepositoryExistsException
public RepositoryExistsException(Project.NameKey projectName)
- Parameters:
projectName
- name of the project that cannot be created
-
-