aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-07-29 23:50:03 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-07-29 23:50:03 +1200
commitec90f70efd0e65d54cff98683973a0a2cf38ca74 (patch)
treedb8c5b335944ed3a00731e96694137db3232f619
parent43544c345f0f32fdeccf1d193ac48e40f89d4f2e (diff)
downloadtrackermap-web-ec90f70efd0e65d54cff98683973a0a2cf38ca74.tar.gz
trackermap-web-ec90f70efd0e65d54cff98683973a0a2cf38ca74.tar.bz2
trackermap-web-ec90f70efd0e65d54cff98683973a0a2cf38ca74.zip
Remove warning from log
-rw-r--r--src/org/traccar/web/client/model/DataService.java2
-rw-r--r--src/org/traccar/web/server/model/DataServiceImpl.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/web/client/model/DataService.java b/src/org/traccar/web/client/model/DataService.java
index 2bb78832..a693b6e6 100644
--- a/src/org/traccar/web/client/model/DataService.java
+++ b/src/org/traccar/web/client/model/DataService.java
@@ -29,7 +29,7 @@ import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
@RemoteServiceRelativePath("dataService")
public interface DataService extends RemoteService {
- User authenticated();
+ User authenticated() throws IllegalStateException;
User login(String login, String password);
diff --git a/src/org/traccar/web/server/model/DataServiceImpl.java b/src/org/traccar/web/server/model/DataServiceImpl.java
index 6e99897b..2a148e25 100644
--- a/src/org/traccar/web/server/model/DataServiceImpl.java
+++ b/src/org/traccar/web/server/model/DataServiceImpl.java
@@ -116,7 +116,7 @@ public class DataServiceImpl extends RemoteServiceServlet implements DataService
}
@Override
- public User authenticated() {
+ public User authenticated() throws IllegalStateException {
return getSessionUser();
}