java.util
Class DuplicateFormatFlagsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
java.util.DuplicateFormatFlagsException
- All Implemented Interfaces:
- Serializable
- public class DuplicateFormatFlagsException
- extends IllegalFormatException
The unchecked exception will be thrown out if there are duplicate flags given
out in the format specifier.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getFlags()
Returns the format flags that contian a duplicate flag. |
java.lang.String |
getMessage()
Returns the message string of the DuplicateFormatFlagsException. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DuplicateFormatFlagsException
public DuplicateFormatFlagsException(java.lang.String f)
- Constructs a DuplicateFormatFlagsException which flags is specified.
- Parameters:
f
- The format flags that contian a duplicate flag.
getFlags
public java.lang.String getFlags()
- Returns the format flags that contian a duplicate flag.
- Returns:
- The format flags that contian a duplicate flag.
getMessage
public java.lang.String getMessage()
- Returns the message string of the DuplicateFormatFlagsException.
- Overrides:
getMessage
in class Throwable
- Returns:
- The message string of the DuplicateFormatFlagsException.