JDBC: Throw UnsupportedOperationException instead of NotImplementedException
Details
| Detail name | Value |
|---|---|
| Changelog Number | 13564 |
| Type | Improvement |
| Status | Resolved |
| Fix Versions | Exasol 7.1.4 |
| Resolution Date | 2021-12-22 |
Background
In JDBC Driver, when the user calls the following methods,
Socket createSocket(String host, int port, InetAddress localHost, int localPort); Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort)
then a NotImplementedException() is thrown to the user.
Improvement
In this scenario, an UnsupportedOperationException() is thrown instead.
Changed behavior
The JDBC driver throws UnsupportedOperationException instead of NotImplementedException.