java.util
Class MissingFormatWidthException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
java.util.MissingFormatWidthException
- All Implemented Interfaces:
- Serializable
- public class MissingFormatWidthException
- extends IllegalFormatException
The unchecked exception will be thrown out if the format width is missing but
is required.
- See Also:
- Serialized Form
Constructor Summary |
MissingFormatWidthException(java.lang.String s)
Constructs a MissingFormatWidthException with the specified format
specifier. |
Method Summary |
java.lang.String |
getFormatSpecifier()
Returns the format specifier 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 |
MissingFormatWidthException
public MissingFormatWidthException(java.lang.String s)
- Constructs a MissingFormatWidthException with the specified format
specifier.
- Parameters:
s
- The specified format specifier.
getFormatSpecifier
public java.lang.String getFormatSpecifier()
- Returns the format specifier associated with the exception.
- Returns:
- The format specifier 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.