Package com.google.gerrit.server.git
Class RepositoryCaseMismatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.eclipse.jgit.errors.TransportException
-
- org.eclipse.jgit.errors.RepositoryNotFoundException
-
- com.google.gerrit.server.git.RepositoryCaseMismatchException
-
- All Implemented Interfaces:
Serializable
public class RepositoryCaseMismatchException extends org.eclipse.jgit.errors.RepositoryNotFoundException
This exception is thrown if a project cannot be created because a project with the same name in a different case already exists. This can only happen if the OS has a case insensitive file system (e.g. Windows), because in this case the name for the git repository in the file system is already occupied by the existing project.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RepositoryCaseMismatchException(Project.NameKey projectName)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RepositoryCaseMismatchException
public RepositoryCaseMismatchException(Project.NameKey projectName)
- Parameters:
projectName
- name of the project that cannot be created
-
-