tweak CaughtException
Change-Id: If5aac87876b139bfb394ec124136de131c3518ae
This commit is contained in:
parent
a4e219eee6
commit
ae218f4895
@ -390,10 +390,11 @@ ODatabaseForm::ODatabaseForm( const ODatabaseForm& _cloneSource )
|
|||||||
}
|
}
|
||||||
catch(const Exception&)
|
catch(const Exception&)
|
||||||
{
|
{
|
||||||
|
css::uno::Any a(cppu::getCaughtException());
|
||||||
throw WrappedTargetException(
|
throw WrappedTargetException(
|
||||||
"Could not clone the given database form.",
|
"Could not clone the given database form.",
|
||||||
*const_cast< ODatabaseForm* >( &_cloneSource ),
|
*const_cast< ODatabaseForm* >( &_cloneSource ),
|
||||||
::cppu::getCaughtException()
|
a
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user