Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| IAIK PKCS#11 Wrapper version 1.2.16
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## iaik.pkcs.pkcs11.wrapper
Class PKCS11RuntimeException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  iaik.pkcs.pkcs11.TokenRuntimeException
                      iaik.pkcs.pkcs11.wrapper.PKCS11RuntimeException

All Implemented Interfaces:
  Serializable

public class PKCS11RuntimeException
extends TokenRuntimeException

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.

See Also:
  Serialized Form
Invariants

Field Summary

Fields inherited from class iaik.pkcs.pkcs11.TokenRuntimeException
`encapsulatedException_`

Constructor Summary
`PKCS11RuntimeException()` Empty constructor.
`PKCS11RuntimeException(Exception encapsulatedException)` Constructor taking an other exception to wrap.
`PKCS11RuntimeException(String message)` Constructor taking a string that describes the reason of the exception in more detail.
`PKCS11RuntimeException(String message, Exception encapsulatedException)` Constructor taking a message for this exception and an other exception to wrap.

Methods inherited from class iaik.pkcs.pkcs11.TokenRuntimeException
`getEncapsulatedException, toString`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### PKCS11RuntimeException

    public PKCS11RuntimeException()

  Empty constructor.

Preconditions
Postconditions

### PKCS11RuntimeException

    public PKCS11RuntimeException(String message)

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

Parameters:
  `message` - A descrption of the reason for this exception.
Preconditions
Postconditions

### PKCS11RuntimeException

    public PKCS11RuntimeException(Exception encapsulatedException)

  Constructor taking an other exception to wrap.

Parameters:
  `encapsulatedException` - The other exception the wrap into this.
Preconditions
Postconditions

### PKCS11RuntimeException

    public PKCS11RuntimeException(String message,
                                  Exception encapsulatedException)

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

Parameters:
  `message` - The message giving details about the exception to ease debugging.
  `encapsulatedException` - The other exception the wrap into this.
Preconditions
Postconditions

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| IAIK PKCS#11 Wrapper version 1.2.16
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

IAIK JavaSecurity Website http://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2002, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved.