java.util
Class IllegalFormatFlagsException

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.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.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

IllegalFormatFlagsException

public IllegalFormatFlagsException(java.lang.String f)
Constructs an IllegalFormatFlagsException with the specified flags.

Parameters:
f - The specified flags.
Method Detail

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).