java.util
Class IllegalFormatFlagsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
java.util.IllegalFormatFlagsException
- All Implemented Interfaces:
- Serializable
public class IllegalFormatFlagsException
- extends IllegalFormatException
Thrown when the flags supplied to the Formatter#format()
method of a Formatter
form an illegal combination.
- Since:
- 1.5
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IllegalFormatFlagsException
public IllegalFormatFlagsException(String flags)
- Constructs a new
IllegalFormatFlagsException
for the specified flags.
- Parameters:
flags
- the illegal set of flags.
- Throws:
NullPointerException
- if flags
is null.
getFlags
public String getFlags()
- Returns the illegal flags.
- Returns:
- the illegal flags.