|
发表于 2020-4-17 23:17:28
|
显示全部楼层
} catch (Exception e) {# F9 \% G1 z+ O2 n( l0 h
log.error("{}[{}]", e.getMessage(), e);
( R% y9 y% ?3 O/ ?# V! h2 T( W: z responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");6 |& Y# ] \/ N; g
responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace()));4 g" S+ k4 Q- Y. T$ c
} finally {
# S) b1 y6 k! b return responseObject;0 N6 X X( T1 ?. d: D5 l* ~# G
}} catch (Exception e) {3 ^$ k; R6 Q: h3 Y
log.error("{}[{}]", e.getMessage(), e);0 l) J0 K- y7 B
responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");) s9 s! O h- z( ~% u$ d7 L' p
responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace()));2 w8 `' O- b, u- x, X, b6 x$ x( v
} finally {
9 X6 z" D9 G2 e, X1 c return responseObject;
0 e/ a, u# k' Q [8 i! ?/ P+ D, v, ? }} catch (Exception e) {
7 j$ F$ l! W. Y; X log.error("{}[{}]", e.getMessage(), e);
3 U5 v2 [2 k( r. c responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");/ B# I( D; g9 T7 O! s
responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace())); ?8 b$ J/ R2 h7 {) o
} finally {
D- s+ @0 C" M" F u2 l return responseObject;. G3 m; @( R: r' f
} |
|