public void setUp() { try { v1=new ViewId(new org.jgroups.stack.IpAddress(InetAddress.getByName("localhost"), 1000), 22); v2=new ViewId(new org.jgroups.stack.IpAddress(InetAddress.getByName("localhost"), 1000), 21); v3=(ViewId)v1.clone(); } catch(Exception e) { log.error("ViewIdTest.setUp(): " + e); }
public void setUp() throws Exception { super.setUp(); try { v1=new ViewId(new org.jgroups.stack.IpAddress(InetAddress.getByName("localhost"), 1000), 22); v2=new ViewId(new org.jgroups.stack.IpAddress(InetAddress.getByName("localhost"), 1000), 21); v3=(ViewId)v1.clone(); } catch(Exception e) { System.err.println("ViewIdTest.setUp(): " + e); }
    public void setUp() {	try {	    v1=new ViewId(new org.jgroups.stack.IpAddress(InetAddress.getByName("localhost"), 1000), 22);	    v2=new ViewId(new org.jgroups.stack.IpAddress(InetAddress.getByName("localhost"), 1000), 21);	    v3=(ViewId)v1.clone();	}	catch(Exception e) {	    log.error("ViewIdTest.setUp(): " + e);	}    }