|
发表于 2020-4-17 23:17:28
|
显示全部楼层
} catch (Exception e) {0 Q) y- S6 r4 N* g$ h) p% F0 [; ?
log.error("{}[{}]", e.getMessage(), e);
" f: P* ~3 n( ?% J responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");
7 M/ @. S0 Q3 p3 c* W( O5 H" f responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace()));3 X. x5 y/ `3 m6 z+ K* G
} finally {
! R* z* k0 c- T! [ I. ~ return responseObject;1 F4 M& O6 G5 W f. s0 S
}} catch (Exception e) {
3 j. S" ~5 A' q# [! a* u log.error("{}[{}]", e.getMessage(), e);
$ Z; E" m$ F$ B1 S9 k2 g" W7 Y R( \- F responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");
% s9 D6 P' a, o+ ~ responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace()));
' g0 D# D( r- H; W' ` } finally {
, F2 B6 x: W) B4 M return responseObject;; z7 `* O% A4 z6 H
}} catch (Exception e) {
0 |: \ ]- ]! J% D# T log.error("{}[{}]", e.getMessage(), e);
7 c% i8 E+ _' `; {( v/ y. { responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");3 n) ]5 i) G9 H% c* a% \+ N
responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace()));
1 g" S# ]/ l# Y } finally {! @. [$ @0 J# \: ?
return responseObject;6 y9 D* n, T3 T% ]
} |
|