Class LicenseNotaryException

  • All Implemented Interfaces:
    java.io.Serializable

    public class LicenseNotaryException
    extends java.security.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.
    Version:
    $Id$
    Author:
    Christian Schlichtherle
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      LicenseNotaryException​(java.lang.String resourceKey, java.lang.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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLocalizedMessage()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LicenseNotaryException

        public LicenseNotaryException​(java.lang.String resourceKey,
                                      java.lang.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 java.lang.String getLocalizedMessage()
        Overrides:
        getLocalizedMessage in class java.lang.Throwable