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
The unchecked exception will be thrown out if the format conversion is
unknown.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getConversion()
Returns the conversion associated with the exception. |
java.lang.String |
getMessage()
Returns the message of the exception. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UnknownFormatConversionException
public UnknownFormatConversionException(java.lang.String s)
- Constructs an UnknownFormatConversionException with the unknown format
conversion.
- Parameters:
s
- The unknown format conversion
getConversion
public java.lang.String getConversion()
- Returns the conversion associated with the exception.
- Returns:
- The conversion associated with the exception.
getMessage
public java.lang.String getMessage()
- Returns the message of the exception.
- Overrides:
getMessage
in class Throwable
- Returns:
- The message of the exception.