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

net.java.truelicense.core.LicenseManagementException Maven / Gradle / Ivy

Go to download

The TrueLicense Core module provides essential functionality for license management.

There is a newer version: 2.6.6
Show newest version
/*
 * Copyright (C) 2005-2015 Schlichtherle IT Services.
 * All rights reserved. Use is subject to license terms.
 */
package net.java.truelicense.core;

import java.security.GeneralSecurityException;

/**
 * Indicates an issue when
 * {@linkplain LicenseVendorManager#create creating},
 * {@linkplain LicenseConsumerManager#install installing},
 * {@linkplain LicenseConsumerManager#view viewing},
 * {@linkplain LicenseConsumerManager#verify verifying} or
 * {@linkplain LicenseConsumerManager#uninstall uninstalling} a license key.
 *
 * @author Christian Schlichtherle
 */
public class LicenseManagementException extends GeneralSecurityException {

    private static final long serialVersionUID = 1L;

    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}. * * @since TrueLicense 2.3 */ public boolean isConsideredConfidential() { return true; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy