APIdia Launch Partner
Top Description Fields Constructors
java.lang.reflect

public Class MalformedParameterizedTypeException

extends RuntimeException
Class Inheritance

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.
Since
1.5

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
MalformedParameterizedTypeException()

Constructs a MalformedParameterizedTypeException with no detail message.

public
MalformedParameterizedTypeException(String
the detail message; may be null
message
)

Constructs a MalformedParameterizedTypeException with the given detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Annotations
@Serial

Constructor Detail

MalformedParameterizedTypeExceptionback to summary
public MalformedParameterizedTypeException()

Constructs a MalformedParameterizedTypeException with no detail message.

MalformedParameterizedTypeExceptionback to summary
public MalformedParameterizedTypeException(String message)

Constructs a MalformedParameterizedTypeException with the given detail message.

Parameters
message:String

the detail message; may be null

Since
10