comparison flys-client/src/main/java/de/intevation/flys/client/client/services/RiverService.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 44c63e7fd0d0
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.ServerException;
6 import de.intevation.flys.client.shared.model.River; 7 import de.intevation.flys.client.shared.model.River;
7 8
8 /** 9 /**
9 * This interface provides a method to list the supported rivers of the artifact 10 * This interface provides a method to list the supported rivers of the artifact
10 * server. 11 * server.
19 * 20 *
20 * @param serverUrl The url of the artifact server. 21 * @param serverUrl The url of the artifact server.
21 * 22 *
22 * @return a list of rivers provided by the artifact server. 23 * @return a list of rivers provided by the artifact server.
23 */ 24 */
24 public River[] list(String serverUrl); 25 public River[] list(String serverUrl)
26 throws ServerException;
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