public class PKCS11Exception extends Exception
| Constructor and Description |
|---|
PKCS11Exception(long errorCode)
Constructor taking the error code as defined for the CKR_* constants
in PKCS#11.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getErrorCode()
Returns the PKCS#11 error code.
|
String |
getMessage()
This method gets the corresponding text error message from
a property file.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PKCS11Exception(long errorCode)
errorCode - The PKCS#11 error code (return value).public String getMessage()
getMessage in class Throwablepublic long getErrorCode()
Copyright © 2018. All rights reserved.