java.util
Class MissingFormatWidthException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalArgumentException
                  extended byjava.util.IllegalFormatException
                      extended byjava.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.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingFormatWidthException

public MissingFormatWidthException(java.lang.String s)
Constructs a MissingFormatWidthException with the specified format specifier.

Parameters:
s - The specified format specifier.
Method Detail

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.