|
发表于 2020-4-17 23:17:28
|
显示全部楼层
} catch (Exception e) {& I7 \5 x1 O. f
log.error("{}[{}]", e.getMessage(), e);
9 y. T: e! H) v1 u1 [ responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");
* _* ~. }. ^1 K. {( b responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace()));
) [- o" _7 \9 w; D" S5 E& t" f( J } finally {" \- S; z2 x# T; A2 e
return responseObject;$ r; }- g O; R, ^* ^5 p" Z
}} catch (Exception e) {% p, z0 x: n6 ]/ `/ J
log.error("{}[{}]", e.getMessage(), e);9 R- K( h. m* g4 r( ~4 h" C
responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");; R* s9 ~, K0 s
responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace()));' l% C, e! ?7 M% G) |) ]
} finally {
1 `9 f8 C8 h; d7 n1 |5 | return responseObject;
. B' X( Z# W. \ }} catch (Exception e) {4 t- v7 k4 K$ z, j- W
log.error("{}[{}]", e.getMessage(), e);8 W- H' @3 T% S2 a; P
responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");
3 {9 D" I/ M1 k4 j3 b' K; B responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace()));% l' b' _! y' g/ H4 U
} finally {& i$ S( S3 ]/ d. p E! V7 @ {
return responseObject;* l' P& l V6 e
} |
|