|
发表于 2020-4-17 23:18:00
|
显示全部楼层
} catch (Exception e) {
; M, S) w; g* I2 p, ^ log.error("{}[{}]", e.getMessage(), e);
X* u1 o$ G: q responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");
2 a T; K0 Y9 y" S. x4 J! l responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace()));1 i; J; {5 Z: e$ @: a) t" W
} finally {
! G0 t8 R4 o0 }* L& x/ j/ j return responseObject;
: Z: ^* S/ Y( ]2 O }} catch (Exception e) {
9 n6 j1 y- A* b) q" z log.error("{}[{}]", e.getMessage(), e);: X* j! ~* h4 n& V( y2 y; T) H
responseObject.getJSONObject("response").getJSONObject("responseBody").put("respCode", "0");$ o6 P2 b* I% g: O
responseObject.getJSONObject("response").getJSONObject("responseBody").put("respDesc", e.getMessage() + ExceptionUtils.getStackTrace(e.fillInStackTrace()));
5 G" p" i$ p2 n } finally {, [% u# {- f1 A3 c
return responseObject;2 M2 q W' I6 [7 w) T2 a+ `
} |
|