Capture some spurious exceptions.