Handler handler = handlerClass.newInstance();
LOG.fine("adding handler to chain: " + handler);
configureHandler(handler, h);
handlerChain.add(handler);
} catch (ClassNotFoundException e) {
throw new WebServiceException(new Message("HANDLER_INSTANTIATION_EXC", LOG).toString(), e);
} catch (InstantiationException e) {
throw new WebServiceException(new Message("HANDLER_INSTANTIATION_EXC", LOG).toString(), e);
} catch (IllegalAccessException e) {
throw new WebServiceException(new Message("HANDLER_INSTANTIATION_EXC", LOG).toString(), e);
}
}
return handlerChain;
}