Add exception for runtime errors