Browse Source

Pull request #15207: REPORT-138771 fix:远程设计取数异常信息解包

Merge in DESIGN/design from ~LEVY.XIE/design:fbp/master to fbp/master

* commit '7dcceb8a90c7df7567514b726f568d9bed577301':
  REPORT-138771 fix:远程设计取数异常信息解包
fbp/master
Levy.Xie-解安森 2 months ago
parent
commit
f5ae4f9c97
  1. 7
      designer-base/src/main/java/com/fr/design/data/DesignTableDataManager.java

7
designer-base/src/main/java/com/fr/design/data/DesignTableDataManager.java

@ -50,6 +50,7 @@ import javax.swing.JFrame;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import java.io.ByteArrayOutputStream;
import java.lang.reflect.UndeclaredThrowableException;
import java.text.Collator;
import java.util.ArrayList;
import java.util.Collections;
@ -596,7 +597,11 @@ public abstract class DesignTableDataManager {
}
} catch (Exception e) {
throw new TableDataException(e.getMessage(), e);
String msg = e.getMessage();
if (e instanceof UndeclaredThrowableException) {
msg = ((UndeclaredThrowableException) e).getUndeclaredThrowable().getMessage();
}
throw new TableDataException(msg, e);
} finally {
ScheduledExecutorService scheduledExecutorService = ComponentUtils
.getExecutor()

Loading…
Cancel
Save