Exception message not updated with "mediaType".
And the same in class phpdoc.