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
- implements Serializable
The unchecked exception will be thrown out if the combination of the format
flags is illegal.
- See Also:
- Serialized Form
Constructor Summary |
IllegalFormatFlagsException(java.lang.String f)
Constructs an IllegalFormatFlagsException with the specified flags. |
Method Summary |
java.lang.String |
getFlags()
Return the flags that are illegal. |
java.lang.String |
getMessage()
Return the message string of the IllegalFormatFlagsException. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IllegalFormatFlagsException
public IllegalFormatFlagsException(java.lang.String f)
- Constructs an IllegalFormatFlagsException with the specified flags.
- Parameters:
f
- The specified flags.
getFlags
public java.lang.String getFlags()
- Return the flags that are illegal.
- Returns:
- The flags that are illegal.
getMessage
public java.lang.String getMessage()
- Return the message string of the IllegalFormatFlagsException.
- Overrides:
getMessage
in class Throwable
- Returns:
- the detail message string of this Throwable instance
(which may be null).