protected static <T> T createNewInstance(Class<T> cl) {
try {
return cl.newInstance();
} catch (InstantiationException e) {
logger.log(Level.SEVERE, e.getMessage(), e);
throw new ServerRtException(
WsservletMessages.ERROR_IMPLEMENTOR_FACTORY_NEW_INSTANCE_FAILED(cl));
} catch (IllegalAccessException e) {
logger.log(Level.SEVERE, e.getMessage(), e);
throw new ServerRtException(
WsservletMessages.ERROR_IMPLEMENTOR_FACTORY_NEW_INSTANCE_FAILED(cl));
}
}