[Verification] Code compiles without error. TCT passrate 100%
Change-Id: I6ad313b82498f1517d65f53d3cf5bdba600fe521
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
dataId: dataId,
type: type
}, callback);
- result = native_.getResultObject(result);
+
if (native_.isFailure(result)) {
throw native_.getErrorObject(result);
} else {
+ result = native_.getResultObject(result);
_realWatchId = converter_.toLong(result.watchId, true);
}
if (type_.isEmptyObject(this._SQLDataControlCbMap) &&