Added in API level 1

MalformedParameterizedTypeException

public class MalformedParameterizedTypeException
extends RuntimeException

java.lang.Object
   ↳ java.lang.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

MalformedParameterizedTypeException()

Constructs a MalformedParameterizedTypeException with no detail message.

MalformedParameterizedTypeException(String message)

Constructs a MalformedParameterizedTypeException with the given detail message.

Inherited methods

Public constructors

MalformedParameterizedTypeException

Added in API level 1
public MalformedParameterizedTypeException ()

Constructs a MalformedParameterizedTypeException with no detail message.

MalformedParameterizedTypeException

Added in API level 33
public MalformedParameterizedTypeException (String message)

Constructs a MalformedParameterizedTypeException with the given detail message.

Parameters
message String: the detail message; may be null