--- a/javaextensions/bluetooth/bluetoothcommons/src.s60/bturlparams.cpp Thu Sep 02 13:22:59 2010 +0300
+++ b/javaextensions/bluetooth/bluetoothcommons/src.s60/bturlparams.cpp Fri Sep 17 16:44:34 2010 +0300
@@ -270,7 +270,7 @@
aParam.c_str(), aVal.c_str());
mReceiveMtu = JavaCommonUtils::wstringToInt(aVal);
}
- catch (ExceptionBase ex)
+ catch (ExceptionBase &ex)
{
ELOG1(EJavaBluetooth,
"- ServiceRecord::setUrlParamsValue URL_PARAM_RECEIVE_MTU exception Caught: %S",
@@ -286,7 +286,7 @@
aParam.c_str(), aVal.c_str());
mTransmitMtu = JavaCommonUtils::wstringToInt(aVal);
}
- catch (ExceptionBase ex)
+ catch (ExceptionBase &ex)
{
ELOG1(EJavaBluetooth,
"- ServiceRecord::setUrlParamsValue URL_PARAM_TRANSMIT_MTU exception Caught: %S",
@@ -404,7 +404,7 @@
mBlockedSenders.push_back(blackPattern);
index = aBlackList.find(SEMICOLON);
}
- catch (ExceptionBase ex)
+ catch (ExceptionBase &ex)
{
// Nothing to handle here.
}
@@ -422,7 +422,7 @@
aBlackList.c_str());
mBlockedSenders.push_back(blackPattern);
}
- catch (ExceptionBase ex)
+ catch (ExceptionBase &ex)
{
// Nothing to handle here.
}
@@ -471,7 +471,7 @@
{
pattern = S60CommonUtils::wstringToDes(aPattern.c_str());
}
- catch (ExceptionBase ex)
+ catch (ExceptionBase &ex)
{
return true;
}