I would be in favor to remove use statements for global PHP classes. There is no need to write use \Exception or use Exception when we can simply write throw new \Exception in the code. It doesn't add any real meaning and it adds more code to type and maintain.
throw new \Exception
I suggest we just use Propel's and third party classes and keep the use of the \ character in the code when dealing with global PHP classes.
What are your thoughts?
Yes I agree.
By the way, all exceptions should be the Propel ones, not the PHP exceptions. We have named exceptions in both the Runtime, and the Generator parts, and it's better to use them.
I'm in favor too for using Propel typed exception classes in favor of PHP global exception classes.
I am ok with that.
Does it apply to Propel lib classes and generated model or only lib classes ?
At least lib classes but it could be also applied to generated code.
IMO just for lib classes.