[Zope-dev] ZEO cache instrumentation -- any takers?

Chris McDonough chrism@zope.com
03 Oct 2002 22:48:56 -0400


> except ReadConflictError:
>     raise

Or even better (since ReadConflictError inherits from ConflictError):

except ConflictError:
    raise

What would be nice is a way to define in Python a kind of exception that
is not caught by bare "except:" statements but only by "except
SpecificClass:" statements.  Not quite an uncatchable exception, but one
that is caught only by except statements that name it. 

- C