Class TypeArgumentNotInBoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.googlecode.objectify.repackaged.gentyref.TypeArgumentNotInBoundException
- All Implemented Interfaces:
Serializable
Thrown to indicate that a type argument for a parameterized type is not within the bound declared on the type
parameter.
- Author:
- Wouter Coekaerts invalid input: '<'[email protected]>
- See Also:
-
Constructor Summary
ConstructorDescriptionTypeArgumentNotInBoundException
(Type argument, TypeVariable<?> parameter, Type bound) -
Method Summary
Modifier and TypeMethodDescriptionReturns the supplied argument that is not within the bound.getBound()
Returns the bound that was not satisfied.TypeVariable<?>
Returns the type parameter.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TypeArgumentNotInBoundException
-
-
Method Details
-
getArgument
Returns the supplied argument that is not within the bound. -
getParameter
Returns the type parameter. -
getBound
Returns the bound that was not satisfied. This is one of the members in getParameter().getBounds().
-