JBoss Logging 3.1.0.GA

org.jboss.logging
Annotation Type Field


@Retention(value=CLASS)
@Target(value=PARAMETER)
@Documented
public @interface Field

Indicate that a method parameter value should be applied to a field on the resultant exception object.

Author:
David M. Lloyd

Optional Element Summary
 java.lang.String name
          The field name.
 

name

public abstract java.lang.String name
The field name. If not specified, the parameter name is assumed to be the field name.

Returns:
the field name
Default:
""

JBoss Logging 3.1.0.GA

Copyright © 2012 JBoss, a division of Red Hat, Inc.