java.util
Class UnknownFormatConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.
getConversion
public String getConversion()
- Returns the conversion string.
- Returns:
- the conversion string.