All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.almworks.jira.structure.api2g.license.LicenseException Maven / Gradle / Ivy

There is a newer version: 17.25.3
Show newest version
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