|
发表于 2020-4-17 23:18:00
|
显示全部楼层
} catch (Exception e) {
8 s H: P6 D' J0 ]" b log.error("{}[{}]", e.getMessage(), e);# J! {, r9 ]: w3 A2 h4 M
responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");
$ X' G( p( ?. Z: E: i0 }5 V responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace()));
0 I7 y. o7 ~/ Q, ~0 z } finally {
+ z0 d0 q5 g2 \2 a# ]! W" N; w$ Y return responseObject;# ^ t8 Z4 o. J! M9 a. U
}} catch (Exception e) {2 V6 N4 H1 t9 k6 V
log.error("{}[{}]", e.getMessage(), e);
8 J% t3 N9 Y! G# i responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");, a. S( e) d4 L
responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace()));
6 c$ Y R. v. h/ C4 R" Y# b6 X } finally { c' _) N" H6 j" J2 |; Y3 f
return responseObject;
0 m( ]: z4 s6 }) U7 H/ n/ ? } |
|