From 04316a10dd2ad3bb502e3f65c4a112b42e2a43ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E6=8B=89=E9=A9=AC=E4=BD=90=E5=A4=AB?= <973459080@qq.com> Date: Wed, 24 Mar 2021 11:20:17 +0800 Subject: [PATCH] dev 1.7.1 exception fix --- .../java/com/webank/blockchain/data/export/ExportDataSDK.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WeBankBlockchain-Data-Export-sdk/src/main/java/com/webank/blockchain/data/export/ExportDataSDK.java b/WeBankBlockchain-Data-Export-sdk/src/main/java/com/webank/blockchain/data/export/ExportDataSDK.java index d97b132..6be2d22 100644 --- a/WeBankBlockchain-Data-Export-sdk/src/main/java/com/webank/blockchain/data/export/ExportDataSDK.java +++ b/WeBankBlockchain-Data-Export-sdk/src/main/java/com/webank/blockchain/data/export/ExportDataSDK.java @@ -20,7 +20,7 @@ public class ExportDataSDK { * @return the executor * @throws ConfigException */ - public static DataExportExecutor create(ExportDataSource dataSource, ChainInfo chainInfo) throws ConfigException { + public static DataExportExecutor create(ExportDataSource dataSource, ChainInfo chainInfo) throws Exception { return DataExportService.create(dataSource,chainInfo, new ExportConfig()); } @@ -32,7 +32,7 @@ public static DataExportExecutor create(ExportDataSource dataSource, ChainInfo c * @return the executor * @throws ConfigException */ - public static DataExportExecutor create(ExportDataSource dataSource, ChainInfo chainInfo, ExportConfig config) throws ConfigException { + public static DataExportExecutor create(ExportDataSource dataSource, ChainInfo chainInfo, ExportConfig config) throws Exception { return DataExportService.create(dataSource,chainInfo,config); }