public class

NoSuchBranchException

extends NoSuchEntityException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.bitbucket.ServiceException
           ↳ com.atlassian.bitbucket.NoSuchEntityException
             ↳ com.atlassian.bitbucket.repository.NoSuchBranchException

Class Overview

Indicates no branch exists with the specified name.

Summary

Public Constructors
NoSuchBranchException(KeyedMessage keyedMessage, String branchId)
Public Methods
String getBranchId()
Retrieves the missing branch ID.
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public NoSuchBranchException (KeyedMessage keyedMessage, String branchId)

Public Methods

public String getBranchId ()

Retrieves the missing branch ID.

Returns
  • the branch ID