Handle exceptions in Android Trust Client (Helper) (#1294, #2033)