if (priv == NULL)
{
- Throw(WrtDeviceApis::Commons::InvalidArgumentException);
+ Throw(WrtDeviceApis::Commons::ConversionException);
}
Converter converter(context);
}
return converter.toJSValueRef(value);
}
+ Catch (WrtDeviceApis::Commons::ConversionException)
+ {
+ LogError("TypemismatchException");
+ return JSTizenExceptionFactory::postException(context, exception,
+ JSTizenException::TYPE_MISMATCH_ERROR, "type mismatch error");
+ }
Catch (WrtDeviceApis::Commons::InvalidArgumentException)
{
LogError("InvalidArgumentException");