public class TypeArgumentNotInBoundException
extends java.lang.IllegalArgumentException
Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Type |
argument |
private java.lang.reflect.Type |
bound |
private java.lang.reflect.TypeVariable<?> |
parameter |
Constructor and Description |
---|
TypeArgumentNotInBoundException(java.lang.reflect.Type argument,
java.lang.reflect.TypeVariable<?> parameter,
java.lang.reflect.Type bound) |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Type |
getArgument()
Returns the supplied argument that is not within the bound.
|
java.lang.reflect.Type |
getBound()
Returns the bound that was not satisfied.
|
java.lang.reflect.TypeVariable<?> |
getParameter()
Returns the type parameter.
|
private final java.lang.reflect.Type argument
private final java.lang.reflect.TypeVariable<?> parameter
private final java.lang.reflect.Type bound
TypeArgumentNotInBoundException(java.lang.reflect.Type argument, java.lang.reflect.TypeVariable<?> parameter, java.lang.reflect.Type bound)
public java.lang.reflect.Type getArgument()
public java.lang.reflect.TypeVariable<?> getParameter()
public java.lang.reflect.Type getBound()