Annotation Type Field


  • @Retention(CLASS)
    @Target(PARAMETER)
    @Documented
    @Deprecated
    public @interface Field
    Deprecated.
    Use org.jboss.logging.annotations.Field provided in module org.jboss.logging:jboss-logging-annotations
    Indicate that a method parameter value should be applied to a field on the resultant exception object.
    Author:
    David M. Lloyd
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String name
      Deprecated.
      The field name.
    • Element Detail

      • name

        java.lang.String name
        Deprecated.
        The field name. If not specified, the parameter name is assumed to be the field name.
        Returns:
        the field name
        Default:
        ""