$aEnd is an array, string expected for first argument to Exception const...

...ructor