Replace exceptions with runtime errors in the world class.