 +//#ifdef JAVA7
 +    public Logger getParentLogger() throws SQLFeatureNotSupportedException
 +    {
-+        throw new SQLFeatureNotSupportedException("Not supported yet.");
++        throw new AbstractMethodError(
++            "org.hsqldb.jdbc.jdbcDataSource.getParentLogger should throw" +
++            " SQLFeatureNotSupportedException, but that is not yet available" +
++            " in Java 5");
 +    }
 +
 +//#endif JAVA7

 // fredt@users 20011220 - patch 1.7.0 by fredt
 // new version numbering scheme
 // fredt@users 20020320 - patch 1.7.0 - JDBC 2 support and error trapping
@@ -321,4 +326,12 @@
             DriverManager.registerDriver(new jdbcDriver());
         } catch (Exception e) {}
     }

+//#ifdef JAVA7
+    public Logger getParentLogger() throws SQLFeatureNotSupportedException
+    {
+        throw new AbstractMethodError(
+            "org.hsqldb.jdbcDriver.getParentLogger should throw" +
+            " SQLFeatureNotSupportedException, but that is not yet available" +
+            " in Java 5");
+    }
+
+//#endif JAVA7
 }
