we now do have a poper way to propagate errob back to java driver instead of just writing trace, please refer to other handler implementation for reference.