Implement exception pretifier.