public class

PKCS11RuntimeException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ sun.security.pkcs11.wrapper.PKCS11RuntimeException

Class Overview

This is the superclass of all runtime exception used by this library. For instance, Runtime exceptions occur, if an internal error in the native part of the wrapper occurs.

Summary

Public Constructors
PKCS11RuntimeException()
Empty constructor.@preconditions
PKCS11RuntimeException(String message)
Constructor taking a string that describes the reason of the exception in more detail.@preconditions
PKCS11RuntimeException(Exception encapsulatedException)
Constructor taking an other exception to wrap.@preconditions
PKCS11RuntimeException(String message, Exception encapsulatedException)
Constructor taking a message for this exception and an other exception to wrap.@preconditions
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public PKCS11RuntimeException ()

Empty constructor.@preconditions

public PKCS11RuntimeException (String message)

Constructor taking a string that describes the reason of the exception in more detail.@preconditions

Parameters
message A descrption of the reason for this exception.

public PKCS11RuntimeException (Exception encapsulatedException)

Constructor taking an other exception to wrap.@preconditions

Parameters
encapsulatedException The other exception the wrap into this.

public PKCS11RuntimeException (String message, Exception encapsulatedException)

Constructor taking a message for this exception and an other exception to wrap.@preconditions

Parameters
message The message giving details about the exception to ease debugging.
encapsulatedException The other exception the wrap into this.