RE: [Zope] catching BadRequest exceptions

2006-03-05 Thread Dieter Maurer
Palermo, Tom wrote at 2006-3-4 21:41 -0500: I'm trying to catch when someone tries to create an object with the same Id as another object. I thought this was handled by checkValidId. It doesn't appear that this error is handled by standard_error_message. These errors should be handled by the

Re: [Zope] catching BadRequest exceptions

2006-03-04 Thread Dieter Maurer
Palermo, Tom wrote at 2006-3-3 13:56 -0500: ... It seems that BadRequest exceptions, like the ones thrown by checkValidId() in OFS.ObjectManager (lib/python/OFS/ObjectManager.py), are not handled by a standard_error_message. Some BadRequest exceptions are not handled by standard_error_message (a

RE: [Zope] catching BadRequest exceptions

2006-03-04 Thread Palermo, Tom
on (ie. It's just some very basic html output). Thanks, Tom -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED] Sent: Saturday, March 04, 2006 2:29 PM To: Palermo, Tom Cc: 'zope@zope.org' Subject: Re: [Zope] catching BadRequest exceptions Palermo, Tom wrote at 2006-3-3 13

[Zope] catching BadRequest exceptions

2006-03-03 Thread Palermo, Tom
All, It seems that BadRequest exceptions, like the ones thrown by checkValidId() in OFS.ObjectManager (lib/python/OFS/ObjectManager.py), are not handled by a standard_error_message. That is, I can't skin the error message so it looks friendly and doesn't show a traceback. Does anyone know