comparison flys-client/src/main/java/de/intevation/flys/client/client/services/UserService.java @ 217:907b61e4d702

Improved the exception handling - added warnings for user authentication errors and errors that occur while fetching supported rivers. flys-client/trunk@1659 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 08 Apr 2011 10:05:14 +0000
parents 2da6be38d8b6
children 924da6695800
comparison
equal deleted inserted replaced
216:4b0fb079ead9 217:907b61e4d702
1 package de.intevation.flys.client.client.services; 1 package de.intevation.flys.client.client.services;
2 2
3 import com.google.gwt.user.client.rpc.RemoteService; 3 import com.google.gwt.user.client.rpc.RemoteService;
4 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; 4 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
5 5
6 import de.intevation.flys.client.shared.exceptions.AuthenticationException;
6 import de.intevation.flys.client.shared.model.User; 7 import de.intevation.flys.client.shared.model.User;
7 8
8 9
9 /** 10 /**
10 * This interface describes services for the user. 11 * This interface describes services for the user.
19 * 20 *
20 * @param serverUrl The url of the artifact server. 21 * @param serverUrl The url of the artifact server.
21 * 22 *
22 * @return the current {@link User}. 23 * @return the current {@link User}.
23 */ 24 */
24 User getCurrentUser(String serverUrl); 25 User getCurrentUser(String serverUrl)
26 throws AuthenticationException;
25 } 27 }
26 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 28 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org