功能测试通过
This commit is contained in:
@@ -6,6 +6,7 @@ import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.FutureTask;
|
||||
|
||||
import static com.sunyard.sge.database.SydApiBaseFunction.toBoolArray;
|
||||
@@ -301,7 +302,15 @@ public class SydApiLongLinkWrap implements SydApi {
|
||||
}
|
||||
return ret;
|
||||
|
||||
} catch (Exception e) {
|
||||
}
|
||||
catch (ExecutionException e) {
|
||||
Throwable cause = e.getCause();
|
||||
if (cause instanceof SydApiException) {
|
||||
throw (SydApiException) cause;
|
||||
}
|
||||
throw new SydApiException("并行任务执行失败", 0xC101);
|
||||
}
|
||||
catch (Exception e) {
|
||||
throw new SydApiException("并行任务执行失败", 0xC101, e);
|
||||
}
|
||||
}
|
||||
@@ -469,4 +478,4 @@ public class SydApiLongLinkWrap implements SydApi {
|
||||
throw new SydApiException("并行任务执行失败", 0xC101, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user