@SubtypeOf(value=I18nUnknownFormat.class) @Retention(value=RUNTIME) @Target(value={TYPE_USE,TYPE_PARAMETER}) public @interface I18nInvalidFormat
String
type, indicates that if the String
is passed to MessageFormat.format(String, Object...)
, an exception will result.Modifier and Type | Required Element and 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. |