@Configuration public class ExceptionHandlerConfiguration extends Object
| Constructor and Description | 
|---|
| ExceptionHandlerConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| DefaultExceptionHandler | defaultExceptionHandler()experimental. | 
| RestfulExceptionHandler | restfulExceptionHandler() | 
| TemplateExceptionHandler | templateExceptionHandler() | 
@Bean
 @ConditionalOnProperty(prefix="app.error",
                       name="handlerEnabled",
                       havingValue="true")
public DefaultExceptionHandler defaultExceptionHandler()
@Bean public RestfulExceptionHandler restfulExceptionHandler()
@Bean public TemplateExceptionHandler templateExceptionHandler()
Copyright © 2017. All rights reserved.