Extend UnexpectedTypeException