From 28771355cc350119761173527932188cd6d3bd1a Mon Sep 17 00:00:00 2001 From: duandongmei Date: Fri, 17 May 2019 15:30:18 +0800 Subject: [PATCH] =?UTF-8?q?http=20client=E5=A2=9E=E5=8A=A0=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E4=BF=A1=E6=81=AF=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/nis/util/ConfigServiceUtil.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/com/nis/util/ConfigServiceUtil.java b/src/main/java/com/nis/util/ConfigServiceUtil.java index 961e68aac..e34612729 100644 --- a/src/main/java/com/nis/util/ConfigServiceUtil.java +++ b/src/main/java/com/nis/util/ConfigServiceUtil.java @@ -190,6 +190,7 @@ public class ConfigServiceUtil { result=response.readEntity(String.class); } } catch (Exception e) { + e.printStackTrace(); throw new MaatConvertException(""); } if(response != null && response.getStatus() == 200){ @@ -235,6 +236,7 @@ public class ConfigServiceUtil { result=response.readEntity(String.class); } } catch (Exception e) { + e.printStackTrace(); throw new MaatConvertException(""); } if(response != null && response.getStatus() == 200){ @@ -244,6 +246,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(":"+result); } } catch (Exception e) { + e.printStackTrace(); logger.error("postCallbackCfg()",e); throw e; }finally { @@ -279,6 +282,7 @@ public class ConfigServiceUtil { result=response.readEntity(String.class); } } catch (Exception e) { + e.printStackTrace(); throw new MaatConvertException(""); } if(response != null && response.getStatus() == 200){ @@ -326,6 +330,7 @@ public class ConfigServiceUtil { result=response.readEntity(String.class); } } catch (Exception e) { + e.printStackTrace(); throw new MaatConvertException(""); } if(response != null && response.getStatus() == 200){ @@ -375,6 +380,7 @@ public class ConfigServiceUtil { result=response.readEntity(String.class); } } catch (Exception e) { + e.printStackTrace(); throw new MaatConvertException(""); } if(response !=null && response.getStatus() == 200){ @@ -418,6 +424,7 @@ public class ConfigServiceUtil { // bean = (ToMaatResult) JSONObject.toBean(resObject,ToMaatResult.class); //获取响应结果 } catch (Exception e) { + e.printStackTrace(); throw new MaatConvertException(":"+result); } } catch (Exception e) { @@ -452,6 +459,7 @@ public class ConfigServiceUtil { result=response.readEntity(String.class); } } catch (Exception e) { + e.printStackTrace(); throw new MaatConvertException(""); } if(response !=null && response.getStatus() == 200){