java.util
Class FormatFlagsConversionMismatchException

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

public class FormatFlagsConversionMismatchException
extends IllegalFormatException
implements Serializable

The unchecked exception will be thrown out if a conversion and flags are incompatible.

See Also:
Serialized Form

Constructor Summary
FormatFlagsConversionMismatchException(java.lang.String f, char c)
          Construct a FormatFlagsConversionMismatchException with the flags and conversion specified.
 
Method Summary
 char getConversion()
          Returns the incompatible Conversion.
 java.lang.String getFlags()
          Returns the incompatible format flag.
 java.lang.String getMessage()
          Returns the message string of the FormatFlagsConversionMismatchException.
 
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

FormatFlagsConversionMismatchException

public FormatFlagsConversionMismatchException(java.lang.String f,
                                              char c)
Construct a FormatFlagsConversionMismatchException with the flags and conversion specified.

Parameters:
f - The flags
c - The conversion
Method Detail

getFlags

public java.lang.String getFlags()
Returns the incompatible format flag.

Returns:
The incompatible format flag.

getConversion

public char getConversion()
Returns the incompatible Conversion.

Returns:
The incompatible Conversion.

getMessage

public java.lang.String getMessage()
Returns the message string of the FormatFlagsConversionMismatchException.

Overrides:
getMessage in class Throwable
Returns:
The message string of the FormatFlagsConversionMismatchException.