BlackBerry: Handle unregistered error

Change-Id: I0caf7ff62825124ac08a7b434dae49f28244664e
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Mehdi Fekari <mfekari@rim.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Rafael Roquetto
2013-03-11 08:40:06 -03:00
committed by Eike Ziller
parent d7d15e57cf
commit 1aba452b31

View File

@@ -37,6 +37,7 @@ static const char ERR_WRONG_CSK_PASS[] = "The signature on the code signing requ
static const char ERR_WRONG_KEYSTORE_PASS[] = "Failed to decrypt keystore, invalid password";
static const char ERR_ILLEGAL_DEVICE_PIN[] = "Illegal device PIN";
static const char ERR_NETWORK_UNREACHABLE[] = "Network is unreachable";
static const char ERR_NOT_YET_REGISTGERED[] = "Not yet registered to request debug tokens";
}
namespace Qnx {
@@ -49,6 +50,7 @@ BlackBerryDebugTokenRequester::BlackBerryDebugTokenRequester(QObject *parent) :
addErrorStringMapping(QLatin1String(ERR_WRONG_KEYSTORE_PASS), WrongKeystorePassword);
addErrorStringMapping(QLatin1String(ERR_WRONG_KEYSTORE_PASS), WrongKeystorePassword);
addErrorStringMapping(QLatin1String(ERR_NETWORK_UNREACHABLE), NetworkUnreachable);
addErrorStringMapping(QLatin1String(ERR_NOT_YET_REGISTGERED), BlackBerryNdkProcess::UnknownError);
}
void BlackBerryDebugTokenRequester::requestDebugToken(const QString &path,