public abstract class ScmException extends ServiceException
ScmService
and other SCM components.
Plugin developers providing SCM implementations are encouraged to derive exceptions which will be propagated beyond their implementation boundaries from this exception.
Modifier | Constructor and Description |
---|---|
protected |
ScmException(KeyedMessage message,
String scmId) |
protected |
ScmException(KeyedMessage message,
Throwable cause,
String scmId) |
Modifier and Type | Method and Description |
---|---|
String |
getScmId()
Retrieves the unique identifier for the SCM from which, or for which, this exception was thrown.
|
getKeyedMessage, getLocalizedMessage, getMessageKey
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected ScmException(@Nonnull KeyedMessage message, @Nonnull String scmId)
Copyright © 2022 Atlassian. All rights reserved.