Actually this was intentional :) The type hint in the method signature references the `\Cake\Error\Exception` class, not the global built in `\Exception`.