Class HookScriptSizeExceededException
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
- All Implemented Interfaces:
Serializable
Thrown when an app attempts to
create
or update
a hook script
with contents which exceed the configured max
size
.- Since:
- 6.2
- See Also:
-
Constructor Summary
ConstructorDescriptionHookScriptSizeExceededException
(KeyedMessage message, int maxSize, int size) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.ServiceException
getKeyedMessage, getLocalizedMessage, getMessageKey
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HookScriptSizeExceededException
-
-
Method Details
-
getMaxSize
public int getMaxSize()- Returns:
- the configured max size for hook script contents
-
getSize
public int getSize()- Returns:
- the hook script contents' actual size
-