Better management of exception

This commit is contained in:
Julien Nabet
2011-09-17 01:03:18 +02:00
parent 3f15bfa050
commit b337edca1a

View File

@@ -214,12 +214,12 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM
}
catch( RuntimeException e )
catch(const RuntimeException &e )
{
m_xConfigurationProvider.clear();
OSL_TRACE( "RuntimeException caught accessing configuration provider." );
OSL_TRACE( "%s", OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US ).getStr() );
throw e;
throw;
}
// Append originator if set in the message