com.itemis.maven.plugins.unleash.scm.ScmException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unleash-scm-provider-api Show documentation
Show all versions of unleash-scm-provider-api Show documentation
The API used by the Unleash Maven Plugin to talk to different SCM providers.
package com.itemis.maven.plugins.unleash.scm;
public class ScmException extends RuntimeException {
private static final long serialVersionUID = -8864350557327681422L;
private ScmOperation operation;
public ScmException(String message) {
this(ScmOperation.UNKNOWN, message);
}
public ScmException(ScmOperation operation, String message) {
super(message);
this.operation = operation;
}
public ScmException(ScmOperation operation, String message, Throwable cause) {
super(message, cause);
this.operation = operation;
}
public ScmOperation getOperation() {
return this.operation;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy