The issue https://bugs.openjdk.org/browse/JDK-8282538 gave an example of the following PKCS11 exception (see attached jtr files of that bug) :
.... Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: 0xCE534351 Unfortunately the error code 0xCE534351 is currently not in the RV/errorMap table of PKCS11Exception, That's why we get this hex code and no more descriptive output, this could be improved. ------------- Commit messages: - JDK-8290532 Changes: https://git.openjdk.org/jdk/pull/9555/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9555&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8290532 Stats: 5 lines in 1 file changed: 3 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/9555.diff Fetch: git fetch https://git.openjdk.org/jdk pull/9555/head:pull/9555 PR: https://git.openjdk.org/jdk/pull/9555