[PyKDE] Handling exceptions in SIP
    Denis S. Otkidach 
    ods at strana.ru
       
    Fri Jul  1 17:50:41 BST 2005
    
    
  
On Fri, 1 Jul 2005 17:37:44 +0100
Phil Thompson <phil at riverbankcomputing.co.uk> wrote:
> If we solve the problem of how to specify "..." then you could define 
> std::bad_alloc, std::exception, and (somehow) "..." using %Exception and 
> then...
> 
> 	void foo() throw (std::bad_alloc, std::exception, ...);
> 
> If this is too much trouble, then I can only suggest implementing something 
> like %DefaultExceptionHandler than contains your code and is applied to 
> anything that has no throw specifier (so long as the -e option is used).
I think we need some more feedback from other SIP users before going farther.
-- 
Denis S. Otkidach
http://www.python.ru/      [ru]
    
    
More information about the PyQt
mailing list