Add use statement for exception class.

Refs cakephp/cakephp#5036