TrueLicense Core 1.33

de.schlichtherle.license
Class LicenseNotaryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by 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

Field Summary
private  String alias
          The alias of the entry in the key store.
private static long serialVersionUID
           
 
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.
 
Method Summary
 String getLocalizedMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

alias

private String alias
The alias of the entry in the key store.


serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

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.
Method Detail

getLocalizedMessage

public String getLocalizedMessage()
Overrides:
getLocalizedMessage in class Throwable

TrueLicense Core 1.33

Copyright © 2005-2015 Schlichtherle IT Services. All Rights Reserved.