[CLIENT] Issue 8 : correction du bug empêchant la fin de la procédure de connexion sur mdp invalide

This commit is contained in:
Notmoo-PC\Notmoo 2018-01-21 17:52:55 +01:00
parent 74a23da5a2
commit 0572f05417

View File

@ -161,6 +161,7 @@ public class QueryExecutor {
switch (response.getType()) { switch (response.getType()) {
case ERROR_QUERY: case ERROR_QUERY:
callback.err(messageToolFactory.getObjectParser(Throwable.class).parse(response.getField("Detail_erreur"))); callback.err(messageToolFactory.getObjectParser(Throwable.class).parse(response.getField("Detail_erreur")));
}catch(Throwable e){
break; break;
case REFUSED_QUERY: case REFUSED_QUERY:
callback.ref(messageToolFactory.getObjectParser(Throwable.class).parse(response.getField("Detail_refus"))); callback.ref(messageToolFactory.getObjectParser(Throwable.class).parse(response.getField("Detail_refus")));