class WWW::Mechanize::ContentTypeError

would be thrown.
if WWW::Mechanize::Page were to try to parse a PDF, a ContentTypeError
parse a content type that it does not know how to handle. For example
This class contains an error for when a pluggable parser tries to
=Synopsis

def initialize(content_type)

def initialize(content_type)
  @content_type = content_type
end