Update change log and spec for wrt-plugins-tizen_0.4.27
[framework/web/wrt-plugins-tizen.git] / src / NFC / JSNFCManager.cpp
old mode 100644 (file)
new mode 100755 (executable)
index 3c1ddcc..bc3ee6d
@@ -234,7 +234,7 @@ JSValueRef JSNFCManager::setExclusiveMode (JSContextRef context, JSObjectRef obj
                NFCManagerPrivObject* privateObject = static_cast<NFCManagerPrivObject*>(JSObjectGetPrivate(thisObject));
                if (!privateObject) {
                        LoggerE("private object is null");
-                       ThrowMsg(UnsupportedException, "private object is null");
+                       throw TypeMismatchException("private object is null");
                }
                NFCDefaultAdapterSingleton::Instance().setExclusiveMode(mode);
                return JSValueMakeUndefined(context);