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

com.swak.license.api.LicenseManagementException Maven / Gradle / Ivy

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; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy