Re: [C++-sig] How to create a custom exception derived from Exception

2012-08-01 Thread Jim Bosch
On 08/01/2012 09:07 AM, Glenn Ramsey wrote: On 31/07/12 22:58, Jim Bosch wrote: On 07/31/2012 06:14 PM, Glenn Ramsey wrote: Using boost::python how can I create an a custom exception that is derived from Python's Exception? The functionality I would like to get by doing this is to provide addi

Re: [C++-sig] How to create a custom exception derived from Exception

2012-07-31 Thread Glenn Ramsey
On 31/07/12 22:58, Jim Bosch wrote: On 07/31/2012 06:14 PM, Glenn Ramsey wrote: Using boost::python how can I create an a custom exception that is derived from Python's Exception? The functionality I would like to get by doing this is to provide additional methods for the catching code to retri

Re: [C++-sig] How to create a custom exception derived from Exception

2012-07-31 Thread Jim Bosch
On 07/31/2012 06:14 PM, Glenn Ramsey wrote: Using boost::python how can I create an a custom exception that is derived from Python's Exception? The functionality I would like to get by doing this is to provide additional methods for the catching code to retrieve information from the exception.

Re: [C++-sig] How to create a custom exception derived from Exception

2012-07-31 Thread Glenn Ramsey
On 31/07/12 21:14, Glenn Ramsey wrote: Using boost::python how can I create an a custom exception that is derived from Python's Exception? The functionality I would like to get by doing this is to provide additional methods for the catching code to retrieve information from the exception. I kno

[C++-sig] How to create a custom exception derived from Exception

2012-07-31 Thread Glenn Ramsey
Using boost::python how can I create an a custom exception that is derived from Python's Exception? The functionality I would like to get by doing this is to provide additional methods for the catching code to retrieve information from the exception. I know it is possible to just wrap and th