public class

RepositoryAlreadyExistsException

extends IllegalRepositoryStateException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.bitbucket.ServiceException
           ↳ com.atlassian.bitbucket.IllegalEntityStateException
             ↳ com.atlassian.bitbucket.repository.IllegalRepositoryStateException
               ↳ com.atlassian.bitbucket.repository.RepositoryAlreadyExistsException

Class Overview

Thrown to indicate that a repository already exists at the given repositoryDir when a new repository or fork is created.

Summary

Public Constructors
RepositoryAlreadyExistsException(KeyedMessage message, Path repositoryDir)
Public Methods
@Nonnull Path getRepositoryDir()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public RepositoryAlreadyExistsException (KeyedMessage message, Path repositoryDir)

Public Methods

@Nonnull public Path getRepositoryDir ()

Returns
  • the path of the repository that already exists.