Test that RPC errors are handled correctly when mixing cpp and java.