chore(java_common): propagate underlying exceptions if possible (#3838)

2 files changed