Geoffrey Talvola <[EMAIL PROTECTED]> wrote: > David Casti wrote: > > > > try: > > contact_id = c.commit_new() > > except ValueError: > > res.write( "<h1> Error captured </h1>") > Sure, I catch exceptions in PSP's and servlets without any problems. I have > no idea why your exception isn't being caught.
Is it possibly because the exception being raised isn't a ValueError? Charles -- ----------------------------------------------------------------------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.ca/~charlesc/software/ ----------------------------------------------------------------------- _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
