Build 1.0_r1(from source)

java.util
Class DuplicateFormatFlagsException

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

Constructor Summary
DuplicateFormatFlagsException(String f)
          Constructs a DuplicateFormatFlagsException which flags is specified.
 
Method Summary
 String getFlags()
          Returns the format flags that contain a duplicate flag.
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateFormatFlagsException

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

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

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.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature