add: manage when javaHttpClient catch exception : throw it in Promise