Class AnnotationsLimitExceededException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.bitbucket.ServiceException
com.atlassian.bitbucket.codeinsights.annotation.AnnotationsLimitExceededException
All Implemented Interfaces:
Serializable

public class AnnotationsLimitExceededException extends com.atlassian.bitbucket.ServiceException
Thrown when the limit for annotations would be exceeded if the request is fulfilled.
Since:
5.15
See Also:
  • Constructor Details

    • AnnotationsLimitExceededException

      public AnnotationsLimitExceededException(@Nonnull com.atlassian.bitbucket.i18n.KeyedMessage message, int count, int limit)
  • Method Details

    • getCount

      public int getCount()
      Returns:
      The number of existing annotations
    • getLimit

      public int getLimit()
      Returns:
      the maximum number of annotations allowed for a report