class ValidityTools {

	public static void isDBAccessible ( String driverClass , String url , String user , String password ) throws ClassNotFoundException , SQLException {
		Class.forName( driverClass );
		Connection con = DriverManager.getConnection( url , user , password );
		con.close( );
	}

}