is new.
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
java.util.IllegalFormatWidthException
public class IllegalFormatWidthException
Unchecked exception thrown when the format width is negative.
Unless otherwise specified, passing a
null
argument to anyg method or constructor in this class will cause a
NullPointerException
to be thrown.
| Constructor Summary | |
|---|---|
IllegalFormatWidthException
(int w)
Constructs an instance of this class with the specified width. |
|
| Method Summary | |
|---|---|
| String |
getMessage
() Returns the detail message string of this throwable. |
int
|
getWidth
() Returns the width |
| Methods inherited from class java.lang. Throwable |
|---|
| fillInStackTrace , getCause , getLocalizedMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString |
| Methods inherited from class java.lang. Object |
|---|
| clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
| Constructor Detail |
|---|
public IllegalFormatWidthException(int w)
(Integerw)
| Method Detail |
|---|
public int
publicIntegergetWidth()
public String getMessage()