Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.IllegalArgumentException java.util.IllegalFormatException java.util.IllegalFormatWidthException
public class IllegalFormatWidthException extends IllegalFormatException
Unchecked exception thrown when the format width is a negative value other than -1 or is otherwise unsupported.
Constructor and Description |
---|
IllegalFormatWidthException(int w)
Constructs an instance of this class with the specified width. |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns the detail message string of this throwable. |
int |
getWidth()
Returns the width |
Methods inherited from class java.lang.Throwable |
---|
addSuppressedException, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressedExceptions, 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)
w
- The widthMethod Detail |
---|
public int getWidth()
public String getMessage()
Throwable
getMessage
in class Throwable
Throwable
instance
(which may be null
).
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.