Added in API level 1
NegativeArraySizeException
open class NegativeArraySizeException : RuntimeException
| kotlin.Any | ||||
| ↳ | kotlin.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.lang.RuntimeException | |||
| ↳ | java.lang.NegativeArraySizeException | |||
Thrown if an application tries to create an array with negative size.
Summary
| Public constructors | |
|---|---|
|
Constructs a |
|
|
Constructs a |
|
Public constructors
NegativeArraySizeException
Added in API level 1
NegativeArraySizeException()
Constructs a NegativeArraySizeException with no detail message.
NegativeArraySizeException
Added in API level 1
NegativeArraySizeException(s: String!)
Constructs a NegativeArraySizeException with the specified detail message.
| Parameters | |
|---|---|
s |
String!: the detail message. |