catch exception when determining ContentObject type_class