[PDT-7055] Throw them for another type of java-driver runtime exception too