Added in API level 1
MissingFormatWidthException
open class MissingFormatWidthException : IllegalFormatException
| kotlin.Any | ||||||
| ↳ | kotlin.Throwable | |||||
| ↳ | java.lang.Exception | |||||
| ↳ | java.lang.RuntimeException | |||||
| ↳ | java.lang.IllegalArgumentException | |||||
| ↳ | java.util.IllegalFormatException | |||||
| ↳ | java.util.MissingFormatWidthException | |||||
Unchecked exception thrown when the format width is required.
Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a NullPointerException to be thrown.
Summary
| Public constructors | |
|---|---|
|
Constructs an instance of this class with the specified format specifier. |
|
| Public methods | |
|---|---|
| open String! |
Returns the format specifier which does not have a width. |
| Properties | |
|---|---|
| open String? | |
Public constructors
MissingFormatWidthException
Added in API level 1
MissingFormatWidthException(s: String!)
Constructs an instance of this class with the specified format specifier.
| Parameters | |
|---|---|
s |
String!: The format specifier which does not have a width |
Public methods
getFormatSpecifier
Added in API level 1
open fun getFormatSpecifier(): String!
Returns the format specifier which does not have a width.
| Return | |
|---|---|
String! |
The format specifier which does not have a width |
Properties
message
Added in API level 1
open val message: String?
| Return | |
|---|---|
String? |
the detail message string of this Throwable instance (which may be null). |