[Zope-CMF] Re: [dev] exceptions (small post-permissiongeddon
proposal)
yuppie
y.2004_ at wcm-solutions.de
Tue May 4 06:03:24 EDT 2004
Tres Seaver wrote:
> yuppie wrote:
>> There are still many string exceptions that need to be replaced. An
>> easy rule where to put and find these exceptions would be quite
>> helpful. "framework-ish or not" isn't a simple rule.
>
>
> String exceptions delenda est!
>
> OK, how about "if the exception is part of a framework interface's
> contract"? Frankly, if we are raising non-standard exceptions *without*
> mentioning them in the interface, then that should be remedied as well.
+1
As a step by step approach: I think it doesn't hurt to replace string
exceptions within a package and move them to CMFCore (including
interfaces) later. That might make it easier to start with the migration
process.
Cheers, Yuppie
More information about the Zope-CMF
mailing list