java.util.IllegalFormatWidthException
The unchecked exception will be thrown out when the width is a negative other
than -1, or the conversion does not support a width or other cases when the
width is not supported.
Summary
Public Constructors
Public Methods
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
IllegalFormatWidthException(int w)
Constructs a IllegalFormatWidthException with specified width.
Public Methods
public
String
getMessage()
Returns the message of the exception.
Returns
- The message of the exception.
public
int
getWidth()
Returns the width associated with the exception.