public class

FeatureUnsupportedScmException

extends ScmException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.stash.exception.ServiceException
           ↳ com.atlassian.stash.scm.ScmException
             ↳ com.atlassian.stash.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
@Deprecated FeatureUnsupportedScmException(KeyedMessage message, String scmId, String feature)
This constructor is deprecated. in 3.4 for removal in 4.0. The ScmFeature enum was added in 3.4. New code should use FeatureUnsupportedScmException(KeyedMessage, String, ScmFeature) instead.
FeatureUnsupportedScmException(KeyedMessage message, String scmId, ScmFeature feature)
Public Methods
@Deprecated @Nonnull String getFeature()
This method is deprecated. in 3.4. The return type for this method will be changed to ScmFeature in 4.0.
[Expand]
Inherited Methods
From class com.atlassian.stash.scm.ScmException
From class com.atlassian.stash.exception.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

@Deprecated public FeatureUnsupportedScmException (KeyedMessage message, String scmId, String feature)

This constructor is deprecated.
in 3.4 for removal in 4.0. The ScmFeature enum was added in 3.4. New code should use FeatureUnsupportedScmException(KeyedMessage, String, ScmFeature) instead.

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

Public Methods

@Deprecated @Nonnull public String getFeature ()

This method is deprecated.
in 3.4. The return type for this method will be changed to ScmFeature in 4.0.

A simple description of the feature which was requested that is not supported.

Returns
  • the requested, unsupported feature