Example usage for org.springframework.data.rest.webmvc.config RepositoryRestConfigurer configureExceptionHandlerExceptionResolver

List of usage examples for org.springframework.data.rest.webmvc.config RepositoryRestConfigurer configureExceptionHandlerExceptionResolver

Introduction

In this page you can find the example usage for org.springframework.data.rest.webmvc.config RepositoryRestConfigurer configureExceptionHandlerExceptionResolver.

Prototype

default void configureExceptionHandlerExceptionResolver(ExceptionHandlerExceptionResolver exceptionResolver) 

Source Link

Document

Configure the ExceptionHandlerExceptionResolver .

Usage

From source file:org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerDelegate.java

@Override
public void configureExceptionHandlerExceptionResolver(ExceptionHandlerExceptionResolver exceptionResolver) {

    for (RepositoryRestConfigurer configurer : delegates) {
        configurer.configureExceptionHandlerExceptionResolver(exceptionResolver);
    }/*from  w w w .j  av  a2s. c  o  m*/
}