Commit cc115326 authored by Quxl's avatar Quxl

x

parent 18e941fa
......@@ -175,7 +175,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
} catch (Exception e) {
isSuccess = false;
message = ThrowableUtil.getThrowableDesc(e);
errorMessage = ThrowableUtil.toStackString(e) + " -- " + timeString;
errorMessage = ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString;
throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e);
} finally {
try {
......
......@@ -84,7 +84,7 @@ public class DNDeletionServiceImpl implements DNDeletionService {
} catch (Exception e) {
isSuccess = false;
message = ThrowableUtil.getThrowableDesc(e);
errorMessage = ThrowableUtil.toStackString(e) + " -- " + timeString;
errorMessage = ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString;
throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e);
} finally {
try {
......
......@@ -131,7 +131,7 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
} catch (Exception e) {
isSuccess = false;
message = ThrowableUtil.getThrowableDesc(e);
errorMessage = ThrowableUtil.toStackString(e) + " -- " + timeString;
errorMessage = ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString;
throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e);
} finally {
try {
......
......@@ -258,7 +258,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService {
} catch (Exception e) {
isSuccess = false;
message = ThrowableUtil.getThrowableDesc(e);
errorMessage = ThrowableUtil.toStackString(e) + " -- " + timeString;
errorMessage = ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString;
throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e);
} finally {
try {
......
......@@ -114,7 +114,7 @@ public class PriceListServiceImpl implements PriceListService {
} catch (Exception e) {
isSuccess = false;
message = ThrowableUtil.getThrowableDesc(e);
errorMessage = ThrowableUtil.toStackString(e) + " -- " + timeString;
errorMessage = ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString;
throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e);
} finally {
try {
......
......@@ -183,7 +183,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
} catch (Exception e) {
isSuccess = false;
message = ThrowableUtil.getThrowableDesc(e);
errorMessage = ThrowableUtil.toStackString(e) + " -- " + timeString;
errorMessage = ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString;
throw new XRException(ThrowableUtil.getCaused(e).getMessage() + " -- " + timeString, e);
} finally {
try {
......
......@@ -117,7 +117,7 @@ public class ZMISD009SOCREATIONTask {
} catch (Throwable e) {
result = "F";
message = ThrowableUtil.getThrowableDesc(e);
errorMessage = ThrowableUtil.toStackString(e).toString();
errorMessage = ThrowableUtil.getCaused(e).getMessage();
logger.error("数据上传错误", e);
} finally {
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