path: root/pyuno/source/module/pyuno_except.cxx
diff options
authorLionel Elie Mamane <>2011-08-20 17:14:24 +0200
committerLionel Elie Mamane <>2011-08-21 01:46:07 +0200
commitfa43b7742227a74c2bfb83c5147ac6eb69e7ef20 (patch)
treee772958252373703c4cc5c1e3e510533c0bed703 /pyuno/source/module/pyuno_except.cxx
parent41a68a4f77a639def35d778b86b6aeda8fe60a7b (diff)
pyuno: make extractUnoException handle exceptions raised by loading
This allows having a meaningful error message when extractUnoException is called from pyuno_loader::getLoaderModule() (via raiseRuntimeExceptionWhenNeeded()). If it is called to treat an error that cropped up in loading, the old code would abort the whole operation by throwing an exception because... it gets essentially the same error. The new code leads to a sensible message on the Python debug console.
Diffstat (limited to 'pyuno/source/module/pyuno_except.cxx')
0 files changed, 0 insertions, 0 deletions