Mercurial > hg > monetdb-java
comparison src/main/java/nl/cwi/monetdb/jdbc/MonetDriver.java.in @ 262:2d62ca1f758b
Moved utility method newSQLFeatureNotSupportedException(String name) from MonetPreparedStatement.java and MonetResultSet.java
to class MonetWrapper such that it can be called directly from all classes which extend MonetWrapper.
Call MonetWrapper.newSQLFeatureNotSupportedException() from more classes and places.
Update java documentation:
- add "@throws SQLFeatureNotSupportedException" to methods which can throw it
- remove "@throws SQLFeatureNotSupportedException" from methods which do not throw it
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 03 Jan 2019 18:33:25 +0100 (2019-01-03) |
parents | d4baf8a4b43a |
children | 4face9f42efc 003ae6d881db |
comparison
equal
deleted
inserted
replaced
261:d4baf8a4b43a | 262:2d62ca1f758b |
---|---|
314 * not use java.util.logging | 314 * not use java.util.logging |
315 * @since 1.7 | 315 * @since 1.7 |
316 */ | 316 */ |
317 @Override | 317 @Override |
318 public Logger getParentLogger() throws SQLFeatureNotSupportedException { | 318 public Logger getParentLogger() throws SQLFeatureNotSupportedException { |
319 throw new SQLFeatureNotSupportedException("java.util.logging not in use", "0A000"); | 319 throw MonetWrapper.newSQLFeatureNotSupportedException("getParentLogger"); |
320 } | 320 } |
321 | 321 |
322 //== end methods of interface driver | 322 //== end methods of interface driver |
323 | 323 |
324 | 324 |