An array wrapper to transform undefined index notices to exceptions.