diff options
author | Simon Rettberg | 2015-08-27 18:08:48 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-08-27 18:08:48 +0200 |
commit | ac15c2a1cfe0fc0519b5577e7478c25500fe45c3 (patch) | |
tree | cdc93ee180fe17220c8a193fff73238e9ddcc651 /dozentenmodul/src/main/java/org/openslx/dozmod/thrift/cache/LectureCache.java | |
parent | Merge branch 'v1.1' of git.openslx.org:openslx-ng/tutor-module into v1.1 (diff) | |
download | tutor-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.java | 4 |
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) { |