java.util
Class UnknownFormatFlagsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
java.util.UnknownFormatFlagsException
- All Implemented Interfaces:
- Serializable
public class UnknownFormatFlagsException
- extends IllegalFormatException
Thrown when a Formatter
is supplied with an
unknown flag.
- Since:
- 1.5
- See Also:
- Serialized Form
Constructor Summary |
UnknownFormatFlagsException(String s)
Constructs a new UnknownFormatFlagsException
which specifies that the supplied set of flags contains a
unknown. |
Method Summary |
String |
getFlags()
Returns the flags which contain a unknown. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnknownFormatFlagsException
public UnknownFormatFlagsException(String s)
- Constructs a new
UnknownFormatFlagsException
which specifies that the supplied set of flags contains a
unknown.
- Parameters:
flags
- the flags containing a unknown.
- Throws:
NullPointerException
- if flags
is null.
getFlags
public String getFlags()
- Returns the flags which contain a unknown.
- Returns:
- the flags.