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

club.zhcs.hanlder.GlobalExceptionHandlerAutoConfiguration Maven / Gradle / Ivy

package club.zhcs.hanlder;

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

/**
 * @author Kerbores([email protected])
 */
@Configuration
@ConditionalOnExpression("${axe.global.exception.enabled:false}")
public class GlobalExceptionHandlerAutoConfiguration {

    @Bean
    public GlobalExceptionHandler globalExceptionHandler() {
        return new GlobalExceptionHandler();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy