Added in API level 1
MalformedParameterizedTypeException
open class MalformedParameterizedTypeException : RuntimeException
kotlin.Any | ||||
↳ | kotlin.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | java.lang.reflect.MalformedParameterizedTypeException |
Thrown when a semantically malformed parameterized type is encountered by a reflective method that needs to instantiate it. For example, if the number of type arguments to a parameterized type is wrong.
Summary
Public constructors | |
---|---|
Constructs a |
|
MalformedParameterizedTypeException(message: String!) Constructs a |
Public constructors
MalformedParameterizedTypeException
Added in API level 1
MalformedParameterizedTypeException()
Constructs a MalformedParameterizedTypeException
with no detail message.
MalformedParameterizedTypeException
Added in API level 33
MalformedParameterizedTypeException(message: String!)
Constructs a MalformedParameterizedTypeException
with the given detail message.
Parameters | |
---|---|
message |
String!: the detail message; may be null |