Build 1.0_r1(from source)

java.util
Class FormatFlagsConversionMismatchException

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.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(String f, char c)
          Construct a FormatFlagsConversionMismatchException with the flags and conversion specified.
 
Method Summary
 char getConversion()
          Returns the incompatible Conversion.
 String getFlags()
          Returns the incompatible format flag.
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormatFlagsConversionMismatchException

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

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

getFlags

public 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 String getMessage()
Returns the message string of the FormatFlagsConversionMismatchException.

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

Build 1.0_r1(from source)

Please submit a feedback, bug or feature