Patch for Sean Evoy: Fixes endless loop when doing cross project builds.
All methods of 'IRuntimeOptions' should throw CDI exceptions in case of failure.