HHH-13848 - Fix for potential NullPointerException

The callers of the convert() method in ResourceRegistryStandardImpl expect an exception which is then thrown. This me produce NullPointerException, which has been fixed in this commit.
This commit is contained in:
The Geeky Asian 2020-02-07 02:55:30 +04:00 committed by Andrea Boriero
parent 544dbbf762
commit 971d0f1fc5

View File

@ -245,8 +245,7 @@ public void register(ResultSet resultSet, Statement statement) {
}
private JDBCException convert(SQLException e, String s) {
// todo : implement
return null;
return new JDBCException(s, e);
}
@Override