Simplified doEditContent exception handling