summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/thrift/cache/LectureCache.java
diff options
context:
space:
mode:
authorSimon Rettberg2015-08-27 18:08:48 +0200
committerSimon Rettberg2015-08-27 18:08:48 +0200
commitac15c2a1cfe0fc0519b5577e7478c25500fe45c3 (patch)
treecdc93ee180fe17220c8a193fff73238e9ddcc651 /dozentenmodul/src/main/java/org/openslx/dozmod/thrift/cache/LectureCache.java
parentMerge branch 'v1.1' of git.openslx.org:openslx-ng/tutor-module into v1.1 (diff)
downloadtutor-module-ac15c2a1cfe0fc0519b5577e7478c25500fe45c3.tar.gz
tutor-module-ac15c2a1cfe0fc0519b5577e7478c25500fe45c3.tar.xz
tutor-module-ac15c2a1cfe0fc0519b5577e7478c25500fe45c3.zip
[*] Thrift API changes
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/thrift/cache/LectureCache.java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/thrift/cache/LectureCache.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/thrift/cache/LectureCache.java b/dozentenmodul/src/main/java/org/openslx/dozmod/thrift/cache/LectureCache.java
index 6b4466c8..04debc3d 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/thrift/cache/LectureCache.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/thrift/cache/LectureCache.java
@@ -5,7 +5,7 @@ import java.util.List;
import org.apache.thrift.TException;
import org.openslx.bwlp.thrift.iface.LectureSummary;
import org.openslx.bwlp.thrift.iface.TAuthorizationException;
-import org.openslx.bwlp.thrift.iface.TInternalServerError;
+import org.openslx.bwlp.thrift.iface.TInvocationException;
import org.openslx.dozmod.thrift.Session;
import org.openslx.thrifthelper.ThriftManager;
import org.openslx.util.GenericDataCache;
@@ -17,7 +17,7 @@ public class LectureCache {
private static final GenericDataCache<List<LectureSummary>> listCache = new GenericDataCache<List<LectureSummary>>(CACHE_TIME_LIST_MS) {
@Override
- protected List<LectureSummary> update() throws TAuthorizationException, TInternalServerError, TException {
+ protected List<LectureSummary> update() throws TAuthorizationException, TInvocationException, TException {
List<LectureSummary> result = null;
int pageSize = Session.getSatelliteConfig().pageSize;
for (int i = 0;; ++i) {