Commit 89730b86 authored by Kenix Whisperwind's avatar Kenix Whisperwind

Implements more specific exception throwing on method run server.

parent 887ec416
......@@ -102,7 +102,7 @@ public final class Server implements Runnable {
}
}
public static final Server run(final String confName) throws Exception {
public static final Server run(final String confName) throws IOException {
final long startTime = System.currentTimeMillis();
Server server = new Server(confName);
......@@ -118,10 +118,9 @@ public final class Server implements Runnable {
return server;
}
public static void main(String[] args) throws IOException {
public static void main(String[] args){
LOGGER.info("Launching Game Server...");
if (args.length == 0) {
LOGGER.info("Server Configuration file not provided. Loading from default.conf or local.conf.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment