#include <SecurityExceptions.h>
#include <JSUtil.h>
-#include <JSWebAPIException.h>
#include <ArgumentValidator.h>
#include <GlobalContextManager.h>
#include <PlatformException.h>
return JSValueMakeUndefined(context);
} catch (const BasePlatformException &err) {
- return JSWebAPIException::throwException(context, exception, err);
+ return JSWebAPIErrorFactory::postException(context, exception, err);
} catch (...) {
DeviceAPI::Common::UnknownException err("Unknown Error in BluetoothDevice.connectToServiceByUUID().");
- return JSWebAPIException::throwException(context, exception, err);
+ return JSWebAPIErrorFactory::postException(context, exception, err);
}
}