java.util
Class UnknownFormatConversionException

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

public class UnknownFormatConversionException
extends IllegalFormatException

Thrown when a Formatter is supplied with an unknown conversion.

Since:
1.5
See Also:
Serialized Form

Constructor Summary
UnknownFormatConversionException(String s)
          Constructs a new UnknownFormatConversionException for the specified conversion string.
 
Method Summary
 String getConversion()
          Returns the conversion string.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

UnknownFormatConversionException

public UnknownFormatConversionException(String s)
Constructs a new UnknownFormatConversionException for the specified conversion string.

Parameters:
s - the conversion string.
Throws:
NullPointerException - if the conversion string is null.
Method Detail

getConversion

public String getConversion()
Returns the conversion string.

Returns:
the conversion string.