Annotation Interface OnError


@Retention(RUNTIME) public @interface OnError
Name a method to call when a property field (see @P) has an error in response to an external port or control call. This should be set on the field, not the method to be called.

When used with a resource loading property, this method will be called if the designated resource fails to load for any reason. The value of the field will not be changed.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of a method to call.
  • Element Details

    • value

      String value
      The name of a method to call.
      Returns:
      method name