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

io.tracee.contextlogger.api.ErrorMessage Maven / Gradle / Ivy

There is a newer version: 0.11.0
Show newest version
package io.tracee.contextlogger.api;

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;

/**
 * Annotation to define an error String that will be outputted to the logs if an error is detected in a method.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = { ElementType.METHOD })
@Documented
public @interface ErrorMessage {

    String value() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy