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 |
String |
getFlags()
Returns the format flags that contain a duplicate flag. |
String |
getMessage()
Returns the message string of the DuplicateFormatFlagsException. |
DuplicateFormatFlagsException
public DuplicateFormatFlagsException(String f)
- Constructs a DuplicateFormatFlagsException which flags is specified.
- Parameters:
f - The format flags that contain a duplicate flag.
getFlags
public String getFlags()
- Returns the format flags that contain a duplicate flag.
- Returns:
- The format flags that contain a duplicate flag.
getMessage
public String getMessage()
- Returns the message string of the DuplicateFormatFlagsException.
- Overrides:
getMessage in class Throwable
- Returns:
- The message string of the DuplicateFormatFlagsException.
Please submit a feedback, bug or feature