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.AutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.context.annotation.Bean;

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy