All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.mengweijin.quickboot.exception.ExceptionAutoConfiguration Maven / Gradle / Ivy

package com.github.mengweijin.quickboot.exception;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author mengweijin
 * @date 2022/10/29
 */
@Configuration
public class ExceptionAutoConfiguration {

    @Bean
    @ConditionalOnMissingBean
    public DefaultExceptionHandler defaultExceptionHandler() {
        return new DefaultExceptionHandler();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy