com.swak.license.api.LicenseManagementException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swak-license-core Show documentation
Show all versions of swak-license-core Show documentation
swak component of trueLicense core
The newest version!
/*
* Copyright (C) 2005 - 2019 Schlichtherle IT Services.
* All rights reserved. Use is subject to license terms.
*/
package com.swak.license.api;
import java.security.GeneralSecurityException;
/**
* Indicates an issue when
* {@linkplain VendorLicenseManager#generateKeyFrom generating},
* {@linkplain ConsumerLicenseManager#install installing},
* {@linkplain ConsumerLicenseManager#load loading},
* {@linkplain ConsumerLicenseManager#verify verifying} or
* {@linkplain ConsumerLicenseManager#uninstall uninstalling} a license key.
*/
public class LicenseManagementException extends GeneralSecurityException {
private static final long serialVersionUID = 0L;
public LicenseManagementException() { }
public LicenseManagementException(Throwable cause) { super(cause); }
/**
* Returns {@code true} if this exception is considered confidential and
* should not be shared with users.
*
* The implementation in the class {@code LicenseManagementException}
* returns {@code true}.
*/
public boolean isConfidential() { return true; }
}