/** * @return an exception service. */ private static ExceptionService getExceptionService() { ExceptionServiceFactory exceptionServiceFactory = (ExceptionServiceFactory) BeanUtils.getBean(EXCEPTION_SERVICE_FACTORY_BEAN); return exceptionServiceFactory.getExceptionService(); }