Make ExceptionResilientAttribute redundant by automating the logic.