- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- io.leangen.geantyref.TypeArgumentNotInBoundException
-
- All Implemented Interfaces:
java.io.Serializable
public class TypeArgumentNotInBoundException extends java.lang.IllegalArgumentExceptionThrown to indicate that a type argument for a parameterized type is not within the bound declared on the type parameter.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypeArgumentNotInBoundException(java.lang.reflect.Type argument, java.lang.reflect.TypeVariable<?> parameter, java.lang.reflect.Type bound)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.TypegetArgument()Returns the supplied argument that is not within the bound.java.lang.reflect.TypegetBound()Returns the bound that was not satisfied.java.lang.reflect.TypeVariable<?>getParameter()Returns the type parameter.
-
-
-
Method Detail
-
getArgument
public java.lang.reflect.Type getArgument()
Returns the supplied argument that is not within the bound.
-
getParameter
public java.lang.reflect.TypeVariable<?> getParameter()
Returns the type parameter.
-
getBound
public java.lang.reflect.Type getBound()
Returns the bound that was not satisfied. This is one of the members in getParameter().getBounds().
-
-