Use the new dedicated exception from pkg-java.jar.