public class

AnnotationsLimitExceededException

extends ServiceException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.bitbucket.ServiceException
           ↳ com.atlassian.bitbucket.codeinsights.annotation.AnnotationsLimitExceededException

Class Overview

Thrown when the limit for annotations would be exceeded if the request is fulfilled.

Summary

Public Constructors
AnnotationsLimitExceededException(KeyedMessage message, int count, int limit)
Public Methods
int getCount()
int getLimit()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public AnnotationsLimitExceededException (KeyedMessage message, int count, int limit)

Public Methods

public int getCount ()

Returns
  • The number of existing annotations

public int getLimit ()

Returns
  • the maximum number of annotations allowed for a report