Package org.jboss.logging.annotations
Annotation Type Field
-
@Retention(CLASS) @Target({PARAMETER,METHOD}) @Repeatable(Fields.class) @Documented public @interface FieldIndicate 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.
- Author:
- David M. Lloyd, James R. Perkins
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanbooleanValueThe defaultbooleanvalue if this annotation is used on a method.bytebyteValueThe default boolean value if this annotation is used on a method.charcharValueThe defaultbytevalue if this annotation is used on a method.java.lang.Class<?>classValueThe defaultClassvalue if this annotation is used on a method.doubledoubleValueThe defaultdoublevalue if this annotation is used on a method.floatfloatValueThe defaultfloatvalue if this annotation is used on a method.intintValueThe defaultintvalue if this annotation is used on a method.longlongValueThe defaultlongvalue if this annotation is used on a method.java.lang.StringnameThe field name.shortshortValueThe defaultshortvalue if this annotation is used on a method.java.lang.StringstringValueThe defaultStringvalue if this annotation is used on a method.
-