The `PCSCException` is thrown, but the error type is not visible due to the "private-packe" access rule. By changing the visibility it is possible to handle / access this exception type explicitly in the catch.
------------- Commit messages: - 8296408: Make the PCSCException public accessible Changes: https://git.openjdk.org/jdk/pull/11012/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11012&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8296408 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/11012.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11012/head:pull/11012 PR: https://git.openjdk.org/jdk/pull/11012