throw something like **UnsuportedContentTypeException** when content is not an image