UnknownFormatConversionException

public class UnknownFormatConversionException extends IllegalFormatException

Unchecked exception thrown when an unknown conversion is given.

Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a NullPointerException to be thrown.

Public Constructor Summary

UnknownFormatConversionException(String s)
Constructs an instance of this class with the unknown conversion.

Public Method Summary

String
getConversion()
Returns the unknown conversion.
String
getMessage()
Returns the detail message string of this throwable.

Inherited Method Summary

Public Constructors

public UnknownFormatConversionException (String s)

Constructs an instance of this class with the unknown conversion.

Parameters
s Unknown conversion

Public Methods

public String getConversion ()

Returns the unknown conversion.

Returns
  • The unknown conversion.

public String getMessage ()

Returns the detail message string of this throwable.

Returns
  • the detail message string of this Throwable instance (which may be null).