Top Description Fields Constructors
sun.security.pkcs11.wrapper

public Class PKCS11RuntimeException

extends RuntimeException
Class Inheritance
Imports
java.io.Serial

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.
Author
Karl Scheibelhofer

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
PKCS11RuntimeException()

Empty constructor.

public
PKCS11RuntimeException(String
A description of the reason for this exception.
message
)

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

public
PKCS11RuntimeException(Exception
The other exception the wrap into this.
encapsulatedException
)

Constructor taking an other exception to wrap.

public
PKCS11RuntimeException(String
The message giving details about the exception to ease debugging.
message
,
Exception
The other exception the wrap into this.
encapsulatedException
)

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

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Annotations
@Serial

Constructor Detail

PKCS11RuntimeExceptionback to summary
public PKCS11RuntimeException()

Empty constructor.

PKCS11RuntimeExceptionback to summary
public PKCS11RuntimeException(String message)

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

Parameters
message:String

A description of the reason for this exception.

PKCS11RuntimeExceptionback to summary
public PKCS11RuntimeException(Exception encapsulatedException)

Constructor taking an other exception to wrap.

Parameters
encapsulatedException:Exception

The other exception the wrap into this.

PKCS11RuntimeExceptionback to summary
public PKCS11RuntimeException(String message, Exception encapsulatedException)

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

Parameters
message:String

The message giving details about the exception to ease debugging.

encapsulatedException:Exception

The other exception the wrap into this.