139140141142143144145146147148149
break; } } } } catch (XMLStreamException e) { throw new WebSocketRuntimeException("Error parsing jWebSocket.xml configuration file", e); } // now return the config object, this is the only one config object that // should exists // in the system return configBuilder.buildConfig();
7071727374757677
if ((id != null && id.length() > 0) && (name != null && name.length() > 0) && (jar != null && jar.length() > 0)) { return; } throw new WebSocketRuntimeException( "Missing one of the server configuration, please check your configuration file"); }