throwInvalidRenderTypeException