ericlagergren / marisa-trie

Automatically exported from code.google.com/p/marisa-trie
Other
0 stars 0 forks source link

Inherit Exception from std::exception #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Cython wrapper is unable to provide detailed exception info because 
marisa::Exception is not a subclass of std::exception. Can you please inherit 
it from std::exception? The attached patch works for me.

Original issue reported on code.google.com by kmik...@gmail.com on 30 Aug 2012 at 6:19

Attachments:

GoogleCodeExporter commented 8 years ago
I've added std::exception as a base class of marisa::Exception in r96.
Would you test the new version?

Thank you.

Original comment by susumu.y...@gmail.com on 31 Aug 2012 at 1:17

GoogleCodeExporter commented 8 years ago
Thanks, it works fine now.

Original comment by kmik...@gmail.com on 31 Aug 2012 at 10:22