Re: [C++-sig] [Py++] user-defined exceptions

2009-03-25 Thread Roman Yakovenko
2009/3/25 Michał Nowotka : > And one more question - what about user-defined exceptions? > Suppose I have following code from library which I cannot modify: > > namespace faif > > { > > >   class FaifException : public std::exception { > >        public: > >                FaifException(){} > >    

[C++-sig] [Py++] user-defined exceptions

2009-03-25 Thread Michał Nowotka
And one more question - what about user-defined exceptions? Suppose I have following code from library which I cannot modify: namespace faif { class FaifException : public std::exception { public: FaifException(){} virtual ~FaifException() throw() {