Class Overview
Thrown to indicate the configured default branch for a repository does not exist.
Summary
Public Methods |
@Nullable
String
|
getBranchName()
Retrieves the name of the branch which is configured as the default branch in the repository.
|
@Nonnull
String
|
getRepositoryName()
Retrieves the name of the repository whose default branch does not exist.
|
[Expand]
Inherited Methods |
From class
com.atlassian.bitbucket.ServiceException
|
From class
java.lang.Throwable
synchronized
final
void
|
addSuppressed(Throwable arg0)
|
synchronized
Throwable
|
fillInStackTrace()
|
synchronized
Throwable
|
getCause()
|
String
|
getLocalizedMessage()
|
String
|
getMessage()
|
StackTraceElement[]
|
getStackTrace()
|
synchronized
final
Throwable[]
|
getSuppressed()
|
synchronized
Throwable
|
initCause(Throwable arg0)
|
void
|
printStackTrace()
|
void
|
printStackTrace(PrintWriter arg0)
|
void
|
printStackTrace(PrintStream arg0)
|
void
|
setStackTrace(StackTraceElement[] arg0)
|
String
|
toString()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
NoDefaultBranchException
(KeyedMessage message, String repositoryName, String branchName)
Public Methods
@Nullable
public
String
getBranchName
()
Retrieves the name of the branch which is configured as the default branch in the repository.
Returns
- the branch name or
null
if unknown
@Nonnull
public
String
getRepositoryName
()
Retrieves the name of the repository whose default branch does not exist.