public class UnknownFormatConversionException extends IllegalFormatException
UnknownFormatConversionException
will be thrown if the format
conversion is unknown.RuntimeException
,
Serialized FormConstructor and Description |
---|
UnknownFormatConversionException(String s)
Constructs an
UnknownFormatConversionException with the unknown
format conversion. |
Modifier and Type | Method and Description |
---|---|
String |
getConversion()
Returns the conversion associated with the exception.
|
String |
getMessage()
Returns the extra information message which was provided when this
Throwable was created. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnknownFormatConversionException(String s)
UnknownFormatConversionException
with the unknown
format conversion.s
- the unknown format conversion.public String getConversion()
public String getMessage()
Throwable
Throwable
was created. Returns null
if no message was
provided at creation time.getMessage
in class Throwable
Throwable
's detail message.