General default exception handler
Dale Strickland-Clark
dale at out-think.NOSPAMco.uk
Wed Dec 6 07:59:38 EST 2000
More information about the Python-list mailing list
Wed Dec 6 07:59:38 EST 2000
- Previous message (by thread): urllib2, proxy, basic authentication
- Next message (by thread): General default exception handler
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
David Bolen <db3l at fitlinxx.com> wrote: >Dale Strickland-Clark <dale at out-think.NOSPAMco.uk> writes: > >> Interesting idea but that won't work in this case. I have to trap >> the error inside the COM object or much of the detail is lost. > >Then how about just structuring your COM object so that the various >entry points just pass control through some sort of dispatch function >that can provide the single general purpose wrapper for unhandled >exceptions. Python's ability to pass in a dynamic function reference >and arbitrary parameters through such a dispatch should make this >fairly straight-forward. > >-- >-- David That's an interesting idea. Thanks -- Dale Strickland-Clark Out-Think Ltd Business Technology Consultants
- Previous message (by thread): urllib2, proxy, basic authentication
- Next message (by thread): General default exception handler
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list