try { Class[] interfaces = aClass.getInterfaces( ); for ( int i = 0; i < interfaces.length; i++ ) { Class anInterface = interfaces[i]; if ( "java.sql.Driver".equals( anInterface.getName( ) ) ) { return true; } } } catch ( Throwable e ) { ExceptionHandler.handle( e ); }
if(driverClass.isAssignableFrom(aClass)) { return true; }
	private static boolean implementsSQLDriver( Class aClass )	{		try		{			Class[] interfaces = aClass.getInterfaces( );			for ( int i = 0; i < interfaces.length; i++ )			{				Class anInterface = interfaces[i];				if ( "java.sql.Driver".equals( anInterface.getName( ) ) ) //$NON-NLS-1$				{					return true;				}			}		}		catch ( Throwable e )		{			ExceptionHandler.handle( e );		}		return false;	}