Catch more specific exception.