Package org.jboss.logging.annotations
Annotation Type Field
-
@Retention(CLASS) @Target({PARAMETER,METHOD}) @Repeatable(Fields.class) @Documented public @interface Field
Indicate that a method parameter value should be applied to a field on the resultant exception object.If this annotation is placed on a method the name attribute becomes a required parameter and one default attribute needs to be set. The value of the default attribute is used to set the filed on the resultant exception object.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
booleanValue
The defaultboolean
value if this annotation is used on a method.byte
byteValue
The default boolean value if this annotation is used on a method.char
charValue
The defaultbyte
value if this annotation is used on a method.java.lang.Class<?>
classValue
The defaultClass
value if this annotation is used on a method.double
doubleValue
The defaultdouble
value if this annotation is used on a method.float
floatValue
The defaultfloat
value if this annotation is used on a method.int
intValue
The defaultint
value if this annotation is used on a method.long
longValue
The defaultlong
value if this annotation is used on a method.java.lang.String
name
The field name.short
shortValue
The defaultshort
value if this annotation is used on a method.java.lang.String
stringValue
The defaultString
value if this annotation is used on a method.
-