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 |
|
|---|---|
<init>()Constructs a |
|
|
Constructs a |
|
Public constructors
<init>
Added in API level 1
NegativeArraySizeException()
Constructs a NegativeArraySizeException with no detail message.
<init>
Added in API level 1
NegativeArraySizeException(s: String!)
Constructs a NegativeArraySizeException with the specified detail message.
| Parameters | |
|---|---|
s |
String!: the detail message. |