getUpperBound

Get the type used as upper bound.

Throws

if there is no upper bound