String vertexClassName = args[0];
int numMachines = Integer.parseInt(args[1]);
try {
Class<?> c = Class.forName(vertexClassName);
if (!c.getSuperclass().equals(Vertex.class)) {
throw new IllegalClassException(vertexClassName);
}
} catch (ClassNotFoundException e) {
System.err.println("Client vertex class not found !");
e.printStackTrace();