Added \Exception type to the type hinting