return JSWebAPIException::throwException(context, exception,
NotFoundException(oss.str().c_str()));
break;
+ case ExceptionCodes::PlatformWrongStateException:
+ oss << "Have no permission to access app '" << appId << "'";
+ return JSWebAPIException::throwException(context, exception,
+ InvalidAccessException(oss.str().c_str()));
+ break;
case ExceptionCodes::PlatformException:
return JSWebAPIException::throwException(context, exception,
UnknownException("The method cannot proceed due to a severe system error."));