[Zope-CMF] [dev] Exceptions: small proposal

Dieter Maurer dieter at handshake.de
Mon Sep 22 13:16:21 EDT 2003


Yuppie wrote at 2003-9-21 18:59 +0200:
 > ...
 > 4.) Subclassing Zope and Python Exceptions also doesn't hurt. As a first 
 > step I added 'CMFNotImplementedError' and 'CMFUnauthorizedError' to be 
 > used by the new deleteMembers method. Existing NotImplementedErrors and 
 > Unauthorized errors can be replaced step by step.

I would not wrap these standard errors for CMF.

It seems irrelevant whether a "NotImplementedError" or
"Unauthorized" comes from CMF or some other source, e.g.
an "Unauthorized" raised by TAL or Zope's security machinery.


Dieter



More information about the Zope-CMF mailing list