[C++-sig] automating convertion y omy exception

Roman Yakovenko roman.yakovenko at gmail.com
Wed Jul 23 21:11:40 CEST 2008


On Wed, Jul 23, 2008 at 9:48 PM, Gennadiy Rozental <rogeeff at gmail.com> wrote:
> Gennadiy Rozental <rogeeff <at> gmail.com> writes:
>
>>
>> Hi,
>>
>> Boost.Python throws bp::error_already_set in case any error occurred. But I
>
> So, there is no way to tell Boost.Python to throw my exception instead?

I am not sure what are you looking for.
Take a look on next links:

http://www.boost.org/doc/libs/1_35_0/libs/python/doc/v2/exception_translator.html
http://www.language-binding.net/pyplusplus/troubleshooting_guide/exceptions/exceptions.html

May be they will help

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the Cplusplus-sig mailing list