提交 f50631ef 编写于 作者: S Serge Rider

Error handle fix

上级 415cc835
......@@ -385,15 +385,12 @@ public class GenericDataSource extends JDBCDataSource
catalogNames.clear();
}
}
} catch (UnsupportedOperationException e) {
// Just skip it
log.debug(e);
} catch (SQLFeatureNotSupportedException e) {
} catch (UnsupportedOperationException | SQLFeatureNotSupportedException e) {
// Just skip it
log.debug(e);
} catch (SQLException e) {
// Error reading catalogs - just warn about it
log.warn(e);
log.warn("Can't read catalog list", e);
}
if (!catalogNames.isEmpty() || catalogsFiltered) {
this.catalogs = new ArrayList<>();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册