public class

PullRequestDeletionDisabledException

extends FeatureDisabledException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.bitbucket.ServiceException
           ↳ com.atlassian.bitbucket.FeatureDisabledException
             ↳ com.atlassian.bitbucket.pull.PullRequestDeletionDisabledException

Class Overview

Thrown when a user, or a plugin, attempts to delete a pull request when the feature has been disabled.

Summary

Public Constructors
PullRequestDeletionDisabledException(KeyedMessage message, PullRequest pullRequest)
Public Methods
@Nonnull PullRequest getPullRequest()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public PullRequestDeletionDisabledException (KeyedMessage message, PullRequest pullRequest)

Public Methods

@Nonnull public PullRequest getPullRequest ()