[Zope-Coders] RFC: Death to string exceptions

Florent Guillaume fg at nuxeo.com
Tue Nov 18 07:47:25 EST 2003


Stefan wrote:
> Tres wrote:
>
> > As with content_status_modify, should be catching
> > zExceptions.Unauthorized.
>
> I have always used AccessControl.Unauthorized. Am I screwed now?

Argh dammit, what's this with these different Unauthorized classes ? I
hope nobody ever raises zExceptions.Unauthorized because not much code
will be able to catch it seeing that everyone uses
AccessControl.Unauthorized... (which subclasses
zExceptions.Unauthorized).

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg at nuxeo.com



More information about the Zope-Coders mailing list