Commit cc115326 authored by Quxl's avatar Quxl

x

parent 18e941fa
...@@ -175,7 +175,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService { ...@@ -175,7 +175,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
} catch (Exception e) { } catch (Exception e) {
isSuccess = false; isSuccess = false;
message = ThrowableUtil.getThrowableDesc(e); message = ThrowableUtil.getThrowableDesc(e);
errorMessage = ThrowableUtil.toStackString(e) + " -- " + timeString; errorMessage = ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString;
throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e); throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e);
} finally { } finally {
try { try {
......
...@@ -84,7 +84,7 @@ public class DNDeletionServiceImpl implements DNDeletionService { ...@@ -84,7 +84,7 @@ public class DNDeletionServiceImpl implements DNDeletionService {
} catch (Exception e) { } catch (Exception e) {
isSuccess = false; isSuccess = false;
message = ThrowableUtil.getThrowableDesc(e); message = ThrowableUtil.getThrowableDesc(e);
errorMessage = ThrowableUtil.toStackString(e) + " -- " + timeString; errorMessage = ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString;
throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e); throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e);
} finally { } finally {
try { try {
......
...@@ -131,7 +131,7 @@ public class MaterialMasterServiceImpl implements MaterialMasterService { ...@@ -131,7 +131,7 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
} catch (Exception e) { } catch (Exception e) {
isSuccess = false; isSuccess = false;
message = ThrowableUtil.getThrowableDesc(e); message = ThrowableUtil.getThrowableDesc(e);
errorMessage = ThrowableUtil.toStackString(e) + " -- " + timeString; errorMessage = ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString;
throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e); throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e);
} finally { } finally {
try { try {
......
...@@ -258,7 +258,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService { ...@@ -258,7 +258,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService {
} catch (Exception e) { } catch (Exception e) {
isSuccess = false; isSuccess = false;
message = ThrowableUtil.getThrowableDesc(e); message = ThrowableUtil.getThrowableDesc(e);
errorMessage = ThrowableUtil.toStackString(e) + " -- " + timeString; errorMessage = ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString;
throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e); throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e);
} finally { } finally {
try { try {
......
...@@ -114,7 +114,7 @@ public class PriceListServiceImpl implements PriceListService { ...@@ -114,7 +114,7 @@ public class PriceListServiceImpl implements PriceListService {
} catch (Exception e) { } catch (Exception e) {
isSuccess = false; isSuccess = false;
message = ThrowableUtil.getThrowableDesc(e); message = ThrowableUtil.getThrowableDesc(e);
errorMessage = ThrowableUtil.toStackString(e) + " -- " + timeString; errorMessage = ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString;
throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e); throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e);
} finally { } finally {
try { try {
......
...@@ -183,7 +183,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ ...@@ -183,7 +183,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
} catch (Exception e) { } catch (Exception e) {
isSuccess = false; isSuccess = false;
message = ThrowableUtil.getThrowableDesc(e); message = ThrowableUtil.getThrowableDesc(e);
errorMessage = ThrowableUtil.toStackString(e) + " -- " + timeString; errorMessage = ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString;
throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e); throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e);
} finally { } finally {
try { try {
......
...@@ -117,7 +117,7 @@ public class ZMISD009SOCREATIONTask { ...@@ -117,7 +117,7 @@ public class ZMISD009SOCREATIONTask {
} catch (Throwable e) { } catch (Throwable e) {
result = "F"; result = "F";
message = ThrowableUtil.getThrowableDesc(e); message = ThrowableUtil.getThrowableDesc(e);
errorMessage = ThrowableUtil.toStackString(e).toString(); errorMessage = ThrowableUtil.getCaused(e).getMessage();
logger.error("数据上传错误", e); logger.error("数据上传错误", e);
} finally { } finally {
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment