public java . util . logging . Logger getParentLogger ( ) throws SQLFeatureNotSupportedException { try { Method getParentLoggerMethod = CommonDataSource . class . getDeclaredMethod ( "getParentLogger" , new Class < ? > [ 0 ] ) ; return ( java . util . logging . Logger ) getParentLoggerMethod . invoke ( delegate , new Object [ 0 ] ) ; } catch ( NoSuchMethodException e ) { throw new SQLFeatureNotSupportedException ( e ) ; } catch ( InvocationTargetException e2 ) { throw new SQLFeatureNotSupportedException ( e2 ) ; } catch ( IllegalArgumentException e2 ) { throw new SQLFeatureNotSupportedException ( e2 ) ; } catch ( IllegalAccessException e2 ) { throw new SQLFeatureNotSupportedException ( e2 ) ; } }
implemented from JDK7