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

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[] doWarnException() default {Throwable.class};

    boolean warnExceptionExtend() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy