com.future94.alarm.log.aspect.Alarm Maven / Gradle / Ivy
The newest version!
package com.future94.alarm.log.aspect;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author weilai
*/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Alarm {
Class extends Throwable>[] doWarnException() default {Throwable.class};
boolean warnExceptionExtend() default false;
}