diff options
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno_adapter.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pyuno/source/module/pyuno_adapter.cxx b/pyuno/source/module/pyuno_adapter.cxx index 35b6ce46fe07..2be265fc3945 100644 --- a/pyuno/source/module/pyuno_adapter.cxx +++ b/pyuno/source/module/pyuno_adapter.cxx @@ -323,19 +323,19 @@ Any Adapter::invoke( const OUString &aFunctionName, } throw; } - catch( const RuntimeException & e ) + catch( const IllegalArgumentException & e ) { - if( cargo && isLog( cargo, LogLevel::CALL ) ) + if( isLog( cargo, LogLevel::CALL ) ) { logException( - cargo, "except uno->py[0x" , + cargo, "except uno->py[0x" , mWrappedObject.get(), aFunctionName, &e,getCppuType(&e) ); } throw; } - catch( const CannotConvertException & e ) + catch( const RuntimeException & e ) { - if( isLog( cargo, LogLevel::CALL ) ) + if( cargo && isLog( cargo, LogLevel::CALL ) ) { logException( cargo, "except uno->py[0x" , @@ -343,12 +343,12 @@ Any Adapter::invoke( const OUString &aFunctionName, } throw; } - catch( const IllegalArgumentException & e ) + catch( const CannotConvertException & e ) { if( isLog( cargo, LogLevel::CALL ) ) { logException( - cargo, "except uno->py[0x" , + cargo, "except uno->py[0x" , mWrappedObject.get(), aFunctionName, &e,getCppuType(&e) ); } throw; |