Browse Source

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

fbp/master
Levy.Xie-解安森 4 weeks ago
parent
commit
7dcceb8a90
  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