Kaydet (Commit) b337edca authored tarafından Julien Nabet's avatar Julien Nabet

Better management of exception

üst 3f15bfa0
...@@ -214,12 +214,12 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM ...@@ -214,12 +214,12 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM
} }
catch( RuntimeException e ) catch(const RuntimeException &e )
{ {
m_xConfigurationProvider.clear(); m_xConfigurationProvider.clear();
OSL_TRACE( "RuntimeException caught accessing configuration provider." ); OSL_TRACE( "RuntimeException caught accessing configuration provider." );
OSL_TRACE( "%s", OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); OSL_TRACE( "%s", OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US ).getStr() );
throw e; throw;
} }
// Append originator if set in the message // Append originator if set in the message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment