Must handle cases where exception was thrown gracefully.