Class ScmException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthenticationFailedScmException, FeatureUnsupportedScmException, IncompleteScmException, MergeException, NotAuthorizedScmException, UnavailableScmException, UnsupportedScmException

public abstract class ScmException extends ServiceException
Base class for exceptions thrown by the 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.

See Also:
  • Constructor Details

  • Method Details

    • getScmId

      @Nonnull public String getScmId()
      Retrieves the unique identifier for the SCM from which, or for which, this exception was thrown.
      Returns:
      the SCM identifier