1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-06 07:32:46 +00:00

NPC Html chat messages

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-25 13:54:59 -03:00
parent 7033518023
commit 4a003b21e0
10103 changed files with 56028 additions and 20460 deletions

View File

@@ -57,7 +57,7 @@ public class ServiceManager {
}
logger = LoggerFactory.getLogger(ServiceManager.class);
}
public <T extends Service> T get(Class<T> serviceClass) {
return injector.getInstance(serviceClass);
}
@@ -81,6 +81,10 @@ public class ServiceManager {
logger.error("{}: Error starting service: {}",
serviceClass.getCanonicalName(), e);
throw e;
} catch (Exception e) {
logger.error("{}: Error starting service: {}",
serviceClass.getCanonicalName(), e);
throw new ServiceStartException(e);
}
}