
com.almworks.jira.structure.api2g.license.LicenseException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-api Show documentation
Show all versions of structure-api Show documentation
Public API for the Structure Plugin for JIRA
package com.almworks.jira.structure.api2g.license;
import org.jetbrains.annotations.NotNull;
public class LicenseException extends Exception {
@NotNull
private final StructureLicenseError myError;
public LicenseException(@NotNull StructureLicenseError error) {
myError = error;
}
public LicenseException(@NotNull StructureLicenseError error, Throwable cause) {
super(cause);
myError = error;
}
@NotNull
public StructureLicenseError getError() {
return myError;
}
public String toString() {
return "license error " + myError.getCode();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy