Top Description Fields Constructors Methods
java.util

public non-sealed Class UnknownFormatConversionException

extends IllegalFormatException
Class Inheritance

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.

Since
1.5

Field Summary

Modifier and TypeField and Description
private String
s

private static final long

Constructor Summary

AccessConstructor and Description
public
UnknownFormatConversionException(String
Unknown conversion
s
)

Constructs an instance of this class with the unknown conversion.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The unknown conversion.
getConversion
()

Returns the unknown conversion.

public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Field Detail

sback to summary
private String s
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.IllegalFormatException.serialVersionUID.

Annotations
@Serial

Constructor Detail

UnknownFormatConversionExceptionback to summary
public UnknownFormatConversionException(String s)

Constructs an instance of this class with the unknown conversion.

Parameters
s:String

Unknown conversion

Method Detail

getConversionback to summary
public String getConversion()

Returns the unknown conversion.

Returns:String

The unknown conversion.

getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Doc from java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Returns:String

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