public class

NoSuchHookScriptException

extends NoSuchEntityException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.bitbucket.ServiceException
           ↳ com.atlassian.bitbucket.NoSuchEntityException
             ↳ com.atlassian.bitbucket.hook.script.NoSuchHookScriptException

Class Overview

Thrown to indicate the requested hook script does not exist.

Summary

Public Constructors
NoSuchHookScriptException(KeyedMessage message, long id)
Public Methods
long getId()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public NoSuchHookScriptException (KeyedMessage message, long id)

Public Methods

public long getId ()

Returns
  • the ID of the hook script that was requested