added 'ContentException' to display messages for them