try
{
rObject->startCaching(pDataUpdateCB);
- }catch(InvalidParameterException &e)
+ }catch(const RCSInvalidParameterException &e)
{
OIC_HOSTING_LOG(DEBUG,
"[HostingObject::stateChangedCB]startCaching InvalidParameterException:%s",
try
{
rObject->stopCaching();
- }catch(InvalidParameterException &e)
+ }catch(const RCSInvalidParameterException &e)
{
OIC_HOSTING_LOG(DEBUG,
"[HostingObject::stateChangedCB]stopCaching InvalidParameterException:%s",
try
{
rObject->stopMonitoring();
- }catch(InvalidParameterException &e)
+ }catch(const RCSInvalidParameterException &e)
{
OIC_HOSTING_LOG(DEBUG,
"[HostingObject::stateChangedCB]stopWatching InvalidParameterException:%s",
try
{
mirroredServer = createMirroredServer(rObject);
- }catch(PlatformException &e)
+ }catch(const RCSPlatformException &e)
{
OIC_HOSTING_LOG(DEBUG,
"[HostingObject::dataChangedCB]createMirroredServer PlatformException:%s",
}
else
{
- throw PlatformException(OC_STACK_ERROR);
+ throw RCSPlatformException(OC_STACK_ERROR);
}
return retResource;
RequestObject newRequest = { };
newRequest.invokeRequest(remoteObject, RequestObject::RequestMethod::Setter,
resourceAttibutes);
- }catch(PlatformException &e)
+ }catch(const RCSPlatformException &e)
{
OIC_HOSTING_LOG(DEBUG,
"[HostingObject::setRequestHandler] PlatformException:%s",