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

cn.gybyt.annotation.EnableHandleException Maven / Gradle / Ivy

The newest version!
package cn.gybyt.annotation;

import cn.gybyt.advice.GybytControllerExceptionAdvice;
import cn.gybyt.advice.GybytControllerSecurityExceptionAdvice;
import cn.gybyt.controller.GybytAuthError;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 开启异常处理
 *
 * @program: gybyt-tools
 * @classname: Enable
 * @author: codetiger
 * @create: 2023/5/28 20:05
 **/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import({GybytControllerExceptionAdvice.class, GybytControllerSecurityExceptionAdvice.class, GybytAuthError.class})
public @interface EnableHandleException {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy