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:
parent
544dbbf762
commit
971d0f1fc5
|
@ -245,8 +245,7 @@ public final class ResourceRegistryStandardImpl implements ResourceRegistry {
|
||||||
}
|
}
|
||||||
|
|
||||||
private JDBCException convert(SQLException e, String s) {
|
private JDBCException convert(SQLException e, String s) {
|
||||||
// todo : implement
|
return new JDBCException(s, e);
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue