java.util
Class UnknownFormatFlagsException

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.UnknownFormatFlagsException
All Implemented Interfaces:
Serializable

public class UnknownFormatFlagsException
extends IllegalFormatException

The unchecked exception will be thrown out if there is an unknown flag.

See Also:
Serialized Form

Constructor Summary
UnknownFormatFlagsException(java.lang.String f)
          Constructs an UnknownFormatFlagsException with the specified flags.
 
Method Summary
 java.lang.String getFlags()
          Returns the flags associated with the exception.
 java.lang.String getMessage()
          Returns the message associated with the exception.
 
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

UnknownFormatFlagsException

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

Parameters:
f - The specified flags.
Method Detail

getFlags

public java.lang.String getFlags()
Returns the flags associated with the exception.

Returns:
The flags associated with the excepiton.

getMessage

public java.lang.String getMessage()
Returns the message associated with the exception.

Overrides:
getMessage in class Throwable
Returns:
The message associated with the exception.