Package org.glassfish.pfl.basic.logex
Annotation Type Message
-
@Documented @Target(METHOD) @Retention(RUNTIME) public @interface Message
This annotation is applied to an interface or abstract class that is used to define methods for logging and/or constructing exceptions.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
value
Define the Log message to be generated for this exception.
-
-
-
Element Detail
-
value
java.lang.String value
Define the Log message to be generated for this exception. The default format is "name: arg1={1} ..." where name is the annotated Method name and each arg is listed after the name. The default format is also used if this annotation is not present.- Returns:
- The log message
- Default:
- ""
-
-