java.util
Class UnknownFormatConversionException

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

public class UnknownFormatConversionException
extends IllegalFormatException

The unchecked exception will be thrown out if the format conversion is unknown.

See Also:
Serialized Form

Constructor Summary
UnknownFormatConversionException(java.lang.String s)
          Constructs an UnknownFormatConversionException with the unknown format conversion.
 
Method Summary
 java.lang.String getConversion()
          Returns the conversion associated with the exception.
 java.lang.String getMessage()
          Returns the message of 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

UnknownFormatConversionException

public UnknownFormatConversionException(java.lang.String s)
Constructs an UnknownFormatConversionException with the unknown format conversion.

Parameters:
s - The unknown format conversion
Method Detail

getConversion

public java.lang.String getConversion()
Returns the conversion associated with the exception.

Returns:
The conversion associated with the exception.

getMessage

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

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