Annotation Type I18nInvalidFormat


  • @Documented
    @Retention(RUNTIME)
    @Target({TYPE_USE,TYPE_PARAMETER})
    @SubtypeOf(I18nUnknownFormat.class)
    public @interface I18nInvalidFormat
    This annotation, attached to a String type, indicates that if the String is passed to MessageFormat.format(String, Object...), an exception will result.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Using a value of the annotated type as the first argument to MessageFormat.format(String, Object...) will lead to this exception message.
    • Element Detail

      • value

        java.lang.String value
        Using a value of the annotated type as the first argument to MessageFormat.format(String, Object...) will lead to this exception message.