Code example for SocketHandler

0
		} catch (IOException e) {
 
		} 
 
		try { 
			h = new SocketHandler("127.0.0.1", 6665);
			fail("Should throw IOException!");
		} catch (IOException e) {
 
		} 
	} 
 
	/* 
	 * Test the constructor with valid relevant log manager properties are set 
	 * except port. 
	 */ 
	public void testConstructor_InvalidHost() throws Exception { 
		Properties p = new Properties();
		p.put("java.util.logging.SocketHandler.level", "FINE");
		p.put("java.util.logging.SocketHandler.filter", className