@SubtypeOf(value=UnknownFormat.class) @Retention(value=RUNTIME) @Target(value={TYPE_USE,TYPE_PARAMETER}) public @interface InvalidFormat
String
type,
indicates that the string is not a legal format string. Passing the
string to
Formatter.format
or similar methods will lead to the exception message indicated in the
annotation's value.Modifier and Type | Required Element and Description |
---|---|
String |
value
Using a value of the annotated type as the first argument to
Formatter.format or
similar methods
will lead to this exception message. |
public abstract String value
Formatter.format
or
similar methods
will lead to this exception message.