de.schlichtherle.license
Class LicenseNotaryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
de.schlichtherle.license.LicenseNotaryException
- All Implemented Interfaces:
- Serializable
public class LicenseNotaryException
- extends GeneralSecurityException
An instance of this class is thrown to indicate that the license notary
could not access the private or public key in a key store due to
insufficient or incorrect parameters in the corresponding
KeyStoreParam instance.
- Author:
- Christian Schlichtherle
- See Also:
- Serialized Form
|
Constructor Summary |
LicenseNotaryException(String resourceKey,
String alias)
Constructs an instance of LicenseNotaryException
with the given resourceKey to lookup the localized detail
message with and parameterize it with the given alias. |
alias
private String alias
- The alias of the entry in the key store.
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
LicenseNotaryException
public LicenseNotaryException(String resourceKey,
String alias)
- Constructs an instance of
LicenseNotaryException
with the given resourceKey to lookup the localized detail
message with and parameterize it with the given alias.
- Parameters:
resourceKey - The key to use to lookup the localized detail
message when getLocalizedMessage() is called
- may not be null.alias - The alias of the entry in the key store
- may be null.
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage in class Throwable
Copyright © 2005-2015 Schlichtherle IT Services. All Rights Reserved.