public class

NoSuchBranchException

extends NoSuchEntityException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.stash.exception.ServiceException
           ↳ com.atlassian.stash.exception.NoSuchEntityException
             ↳ com.atlassian.stash.exception.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.stash.exception.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