public class

FeatureUnsupportedScmException

extends ScmException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.bitbucket.ServiceException
           ↳ com.atlassian.bitbucket.scm.ScmException
             ↳ com.atlassian.bitbucket.scm.FeatureUnsupportedScmException

Class Overview

Thrown to indicate a requested SCM feature, such as command builders or pull requests, is not supported by the backing SCM implementation.

Summary

Public Constructors
FeatureUnsupportedScmException(KeyedMessage message, String scmId, ScmFeature feature)
Public Methods
@Nonnull ScmFeature getFeature()
The feature which was requested but is not supported.
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.scm.ScmException
From class com.atlassian.bitbucket.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public FeatureUnsupportedScmException (KeyedMessage message, String scmId, ScmFeature feature)

Public Methods

@Nonnull public ScmFeature getFeature ()

The feature which was requested but is not supported.

Returns
  • the requested, unsupported feature