public abstract class


extends ServiceException
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.bitbucket.ServiceException
           ↳ com.atlassian.bitbucket.FeatureDisabledException
Known Direct Subclasses

Class Overview

Base class for exceptions thrown when attempts are made to use features which have been disabled.

Some features, like forking or uploading attachments, can be globally (or specifically) disabled by administrators. User interface cues for disabled features are hidden, but API methods and REST endpoints cannot be. When an attempt is made to access a disabled feature, subclasses of this exception will be thrown.


Protected Constructors
FeatureDisabledException(KeyedMessage message)
Inherited Methods
From class com.atlassian.bitbucket.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Protected Constructors

protected FeatureDisabledException (KeyedMessage message)