com.naharoo.commons.mstoolkit.rest.exceptionhandler.RestExceptionHandlerAutoConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ms-toolkit-rest-exception-handler-starter Show documentation
Show all versions of ms-toolkit-rest-exception-handler-starter Show documentation
Common exceptions handler as a Spring Boot Starter
package com.naharoo.commons.mstoolkit.rest.exceptionhandler;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
@Configuration
@EnableConfigurationProperties(RestExceptionHandlerProperties.class)
@ComponentScan("com.naharoo.commons.mstoolkit.rest.exceptionhandler")
@PropertySource("classpath:ms-toolkit-exception-handler-starter.properties")
public class RestExceptionHandlerAutoConfiguration {
}