public class

HookScriptSizeExceededException

extends HookScriptStoreException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.bitbucket.ServiceException
           ↳ com.atlassian.bitbucket.hook.script.HookScriptException
             ↳ com.atlassian.bitbucket.hook.script.HookScriptStoreException
               ↳ com.atlassian.bitbucket.hook.script.HookScriptSizeExceededException

Class Overview

Thrown when an app attempts to create or update a hook script with contents which exceed the configured max size.

Summary

Public Constructors
HookScriptSizeExceededException(KeyedMessage message, int maxSize, int size)
Public Methods
int getMaxSize()
int getSize()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public HookScriptSizeExceededException (KeyedMessage message, int maxSize, int size)

Public Methods

public int getMaxSize ()

Returns
  • the configured max size for hook script contents

public int getSize ()

Returns
  • the hook script contents' actual size