((Startable) service).start();
logger.info(service.getDescription() + " started successfully");
}
}
} catch (InvocationTargetException e) {
throw new ROCKSTEADYSystemException(
"ServiceManager: Error Starting Service " + serviceClass, e);
} catch (IllegalAccessException e) {
throw new ROCKSTEADYSystemException(
"ServiceManager: Error Starting Service " + serviceClass, e);
} catch (ClassNotFoundException e) {
throw new ROCKSTEADYSystemException(
"ServiceManager: Error Starting Service " + serviceClass, e);
} catch (NoSuchMethodException e) {
throw new ROCKSTEADYSystemException(
"ServiceManager: Error Starting Service " + serviceClass, e);
} catch (Exception e) {
throw new ROCKSTEADYSystemException(
"ServiceManager: Error Starting Service " + serviceClass, e);
}
}