iaik.x509
Class X509ExtensionInitException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.security.GeneralSecurityException
                    |
                    +--iaik.x509.X509ExtensionException
                          |
                          +--iaik.x509.X509ExtensionInitException

public class X509ExtensionInitException
extends X509ExtensionException

This exception is thrown if an implementation of an extension can not be initialized.

Possible reasons are:

See Also:
Serialized Form

Constructor Summary
X509ExtensionInitException(ObjectID extensionID, boolean critical, java.lang.String errorMessage)
          Creates a new X509ExtensionInitException.
 
Method Summary
 ObjectID getExtensionID()
          Returns the ObjectID of the broken extension.
 boolean isCriticalExtension()
          Returns true if the broken extension is critical.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

X509ExtensionInitException

public X509ExtensionInitException(ObjectID extensionID,
                                  boolean critical,
                                  java.lang.String errorMessage)
Creates a new X509ExtensionInitException.
Parameters:
extensionID - the ObjectID of the broken extension
critical - whether the broken extension is critical or not
errorMessage - a message describing the reason of the error
Method Detail

getExtensionID

public ObjectID getExtensionID()
Returns the ObjectID of the broken extension.
Returns:
the ObjectID of the broken extension

isCriticalExtension

public boolean isCriticalExtension()
Returns true if the broken extension is critical.
Returns:
true if the broken extesnion is critical