java.util
Class DuplicateFormatFlagsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalArgumentException
                  extended byjava.util.IllegalFormatException
                      extended byjava.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

Constructor Summary
DuplicateFormatFlagsException(java.lang.String f)
          Constructs a DuplicateFormatFlagsException which flags is specified.
 
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.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateFormatFlagsException

public DuplicateFormatFlagsException(java.lang.String f)
Constructs a DuplicateFormatFlagsException which flags is specified.

Parameters:
f - The format flags that contian a duplicate flag.
Method Detail

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.