Mercurial > hg > monetdb-java
diff 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 |
line wrap: on
line diff
--- a/src/main/java/nl/cwi/monetdb/jdbc/MonetDriver.java.in +++ b/src/main/java/nl/cwi/monetdb/jdbc/MonetDriver.java.in @@ -316,7 +316,7 @@ final public class MonetDriver implement */ @Override public Logger getParentLogger() throws SQLFeatureNotSupportedException { - throw new SQLFeatureNotSupportedException("java.util.logging not in use", "0A000"); + throw MonetWrapper.newSQLFeatureNotSupportedException("getParentLogger"); } //== end methods of interface driver