[Zope-dev] Re: Deprecation Warning
Lennart Regebro
regebro at gmail.com
Wed Jul 23 18:04:31 EDT 2008
On Wed, Jul 23, 2008 at 20:26, vyshakh krishnan
<vyshakh.krishnan at gmail.com> wrote:
> Hello everyone,
>
> Since the deprecation warning is due to the conversion of error_type
> into string by 'raise_standardErrorMessage' method, is it still
> necessary to use new user defined Exception class or do we want to
> modify the function
> 'raise_standardErrorMessage' .
We want to NOT raise a string. But an Exception object. That's pretty
much it. As earlier: please share your worries about this. It sounds
like a rather trivial code change, but you don't seem to think so, and
we can help better if you explain why.
--
Lennart Regebro: Zope and Plone consulting.
http://www.colliberty.com/
+33 661 58 14 64
More information about the Zope-Dev
mailing list