[MediaContent] Added exception handling to catch p/invoke error return (#367)