Subversion Repositories eFlore/Applications.del

Rev

Rev 1667 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1667 Rev 1953
Line 62... Line 62...
62
			GWT.log("Code: OK");
62
			GWT.log("Code: OK");
63
			try {
63
			try {
64
				T reponseParsee = parserJSON(response.getText());
64
				T reponseParsee = parserJSON(response.getText());
65
				surRetour(reponseParsee);
65
				surRetour(reponseParsee);
66
			} catch (JSONException e) {
66
			} catch (JSONException e) {
67
				StringUtils.logChaine("Une erreur est survenue, le serveur a répondu : "+response.getText());
67
				StringUtils.logVersConsole("Une erreur est survenue, le serveur a répondu : "+response.getText());
68
			}		
68
			}		
69
		} else {
69
		} else {
70
			surErreur("Erreur " + statusCode + ": " + response.getText());
70
			surErreur("Erreur " + statusCode + ": " + response.getText());
71
		}
71
		}
72
	}
72
	}