summaryrefslogtreecommitdiff
path: root/pyuno/source/module/pyuno_adapter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/source/module/pyuno_adapter.cxx')
-rw-r--r--pyuno/source/module/pyuno_adapter.cxx14
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;