IAIK PKCS#11 Provider Micro Edition
version 1.0

iaik.pkcs.pkcs11.me
Class PKCS11Exception

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byiaik.pkcs.pkcs11.me.PKCS11Exception
All Implemented Interfaces:
java.io.Serializable

public class PKCS11Exception
extends java.lang.Exception

This exception is thrown by the provider as a checked exception if a provider operation fails.

See Also:
Serialized Form

Constructor Summary
PKCS11Exception(java.lang.String message, java.lang.Throwable innerException)
          Create a new exception with the given exception message and inner exception, called cause since Java 1.4.
 
Method Summary
 java.lang.Throwable getCause()
          Get the inner exception, sometimes called cause.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, 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
 

Constructor Detail

PKCS11Exception

public PKCS11Exception(java.lang.String message,
                       java.lang.Throwable innerException)
Create a new exception with the given exception message and inner exception, called cause since Java 1.4.

Parameters:
message - The exception message.
innerException - The inner exception (cause). May be null.
Method Detail

getCause

public java.lang.Throwable getCause()
Get the inner exception, sometimes called cause.

Returns:
The inner exception, or null if there is none.

IAIK PKCS#11 Provider Micro Edition
version 1.0

IAIK JavaSecurity Website http://jce.iaik.tugraz.at/

IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2005, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved.
version 1.0