Package com.atlassian.bitbucket.scm
Class FeatureUnsupportedScmException
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
- All Implemented Interfaces:
Serializable
Thrown to indicate a requested SCM feature, such as
command builders
or
pull requests
, is not supported by the backing SCM implementation.- See Also:
-
Constructor Summary
ConstructorDescriptionFeatureUnsupportedScmException
(KeyedMessage message, String scmId, ScmFeature feature) -
Method Summary
Modifier and TypeMethodDescriptionThe feature which was requested but is not supported.Methods inherited from class com.atlassian.bitbucket.scm.ScmException
getScmId
Methods inherited from class com.atlassian.bitbucket.ServiceException
getKeyedMessage, getLocalizedMessage, getMessageKey
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FeatureUnsupportedScmException
public FeatureUnsupportedScmException(@Nonnull KeyedMessage message, @Nonnull String scmId, @Nonnull ScmFeature feature)
-
-
Method Details
-
getFeature
The feature which was requested but is not supported.- Returns:
- the requested, unsupported feature
-