is new.
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
java.util.UnknownFormatConversionException
public class UnknownFormatConversionException
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.
| Constructor Summary | |
|---|---|
|
UnknownFormatConversionException
(
String
s) Constructs an instance of this class with the unknown conversion. |
|
| Method Summary | |
|---|---|
| String |
getConversion
()
Returns the unknown conversion.
|
| String |
getMessage
() Returns the detail message string of this throwable. |
| Methods inherited from class java.lang. Throwable |
|---|
| fillInStackTrace , getCause , getLocalizedMessage , 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 |
|---|
public UnknownFormatConversionException(String s)
| Method Detail |
|---|
public String getConversion()
Returns the unknown conversion.
Returns:
The unknown conversion.
public String getMessage()