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

public class TypeArgumentNotInBoundException extends IllegalArgumentException
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 Details

    • TypeArgumentNotInBoundException

      public TypeArgumentNotInBoundException(Type argument, TypeVariable<?> parameter, Type bound)
  • Method Details

    • getArgument

      public Type getArgument()
      Returns the supplied argument that is not within the bound.
    • getParameter

      public TypeVariable<?> getParameter()
      Returns the type parameter.
    • getBound

      public Type getBound()
      Returns the bound that was not satisfied. This is one of the members in getParameter().getBounds().