public class TypeArgumentNotInBoundException extends IllegalArgumentException
Constructor and Description |
---|
TypeArgumentNotInBoundException(Type argument,
TypeVariable<?> parameter,
Type bound) |
Modifier and Type | Method and Description |
---|---|
Type |
getArgument()
Returns the supplied argument that is not within the bound.
|
Type |
getBound()
Returns the bound that was not satisfied.
|
TypeVariable<?> |
getParameter()
Returns the type parameter.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TypeArgumentNotInBoundException(Type argument, TypeVariable<?> parameter, Type bound)
public Type getArgument()
public TypeVariable<?> getParameter()
public Type getBound()
Copyright © 2016. All rights reserved.