Update to new CakePHP 3 exception