public void handler(ErrorHandler errorHandler) { custom.errorHandlers().assign(error, errorHandler); }
private ErrorHandler findHandlerForChainOfErrors(Customization custom, Throwable error) { ErrorHandler handler = custom.errorHandlers().findByType(error.getClass()); if (handler == null && error.getCause() != null) { handler = findHandlerForChainOfErrors(custom, error.getCause()); } return handler; }
public synchronized void reset() { staticFilesPath = null; errorHandler = null; viewResolver = null; pageDecorator = null; jsonResponseRenderer = null; jsonRequestBodyParser = null; xmlResponseRenderer = null; xmlRequestBodyParser = null; beanParameterFactory = null; loginProvider = null; rolesProvider = null; validator = null; objectMapper = null; xmlMapper = null; entityManagerProvider = null; entityManagerFactoryProvider = null; sessionManager = null; errorHandlers.reset(); staticFilesSecurity = null; wrappers = null; templateLoader = null; }
public static <K, T> ByType<K, T> create() { return new ByType<>(); }
private ErrorHandler findHandlerForChainOfErrors(Customization custom, Throwable error) { ErrorHandler handler = custom.errorHandlers().findByType(error.getClass()); if (handler == null && error.getCause() != null) { handler = findHandlerForChainOfErrors(custom, error.getCause()); } return handler; }
public void handler(ErrorHandler errorHandler) { custom.errorHandlers().assign(error, errorHandler); }
public synchronized void reset() { staticFilesPath = null; errorHandler = null; viewResolver = null; pageDecorator = null; jsonResponseRenderer = null; jsonRequestBodyParser = null; xmlResponseRenderer = null; xmlRequestBodyParser = null; beanParameterFactory = null; loginProvider = null; rolesProvider = null; validator = null; objectMapper = null; xmlMapper = null; entityManagerProvider = null; entityManagerFactoryProvider = null; sessionManager = null; errorHandlers.reset(); staticFilesSecurity = null; wrappers = null; templateLoader = null; }