|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
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.
| Constructor Summary | |
IllegalFormatWidthException(int w)
Constructs a IllegalFormatWidthException with specified width. |
|
| Method Summary | |
java.lang.String |
getMessage()
Returns the message of the exception. |
int |
getWidth()
Returns the width associated with 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 |
public IllegalFormatWidthException(int w)
w - The width.| Method Detail |
public int getWidth()
public java.lang.String getMessage()
getMessage in class Throwable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||