importing java.net.UnknownHostException instead of java.rmi