} catch (RemoteException e) {
logger.warn("Failed to start RMI server at port " + port, e);
}
} else if (type.equals("socket")) {
try {
(new SocketServer(port, cspokerServer)).start();
} catch (RemoteException e) {
logger.warn("Failed to start RMI server at port " + port, e);
}
} else {
throw new SAXException("Unknown provider type: " + type);