#include <CommonsJavaScript/JSUtils.h>
#include <CommonsJavaScript/Converter.h>
#include <Commons/Exception.h>
-#include <JSWebAPIException.h>
-//#include <JSTizenExceptionFactory.h>
-//#include <JSTizenException.h>
#include "ApplicationInformation.h"
+#include <JSWebAPIErrorFactory.h>
#include "JSApplicationInformation.h"
#include "AppManagerWrapper.h"
#include <Export.h>
}
}
} catch (const BasePlatformException &err) {
- return JSWebAPIException::throwException(context, exception, err);
+ return JSWebAPIErrorFactory::postException(context, exception, err);
} catch (...) {
DeviceAPI::Common::TypeMismatchException err("TypeMismatchException occured");
- return JSWebAPIException::throwException(context, exception, err);
+ return JSWebAPIErrorFactory::postException(context, exception, err);
}
return JSValueMakeUndefined(context);