BaseDataSource.setUrl()'s signature claims it throws SQLException but looking at the code, it never does. Similarly, the documentation claims it throws this exception yet fails to explain under what circumstances.
Can you please review whether this exception can be removed?