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(String message)
Constructs a |
Inherited methods | |
---|---|
Public constructors
MalformedParameterizedTypeException
public MalformedParameterizedTypeException ()
Constructs a MalformedParameterizedTypeException
with
no detail message.
MalformedParameterizedTypeException
public MalformedParameterizedTypeException (String message)
Constructs a MalformedParameterizedTypeException
with
the given detail message.
Parameters | |
---|---|
message |
String : the detail message; may be null |