Tweaked an exception function in the XLS class.