public abstract class CkiEventManager
extends java.lang.Object
Constructor and Description |
---|
CkiEventManager() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
handleDeviceError(CkiSlot slot, CryptokiException ex)
Handles device errors on the token.
|
protected abstract void |
handleError(CkiSlot slot, CryptokiException ex)
Handles the other kind of errors.
|
protected abstract void |
handleGeneralError(CkiSlot slot, CryptokiException ex)
Handles the CKR_GENERAL_ERROR error.
|
protected abstract void |
handleMemoryError(CkiSlot slot, CryptokiException ex)
Handles memory errors on the token.
|
protected abstract void |
handleOutOfSessions(CkiSlot slot, CryptokiException ex)
Handles the out of sessions error.
|
abstract void |
processError(CkiSlot slot, CryptokiException ex)
This method processes errors.
|
public abstract void processError(CkiSlot slot, CryptokiException ex)
slot
- The slot where the error occured.ex
- The CryptokiException representing the error.protected abstract void handleOutOfSessions(CkiSlot slot, CryptokiException ex)
protected abstract void handleDeviceError(CkiSlot slot, CryptokiException ex)
protected abstract void handleMemoryError(CkiSlot slot, CryptokiException ex)
protected abstract void handleGeneralError(CkiSlot slot, CryptokiException ex)
protected abstract void handleError(CkiSlot slot, CryptokiException ex)