Skip to content

Commit

Permalink
ATS-6 Fix build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
mherlitzius committed Dec 21, 2017
1 parent d564bb1 commit b7ebbfe
Showing 1 changed file with 7 additions and 2 deletions.
Expand Up @@ -75,8 +75,14 @@ public void remove(Session session, boolean update) {

@Override
public Session findSession(String id) throws IOException {
Session session = null;
// do not call super, instead load the session directly from the store
return getStore().load(id);
try {
session = getStore().load(id);
} catch (ClassNotFoundException e) {
throw new IOException("error loading class for session " + id, e);
}
return session;
}

protected synchronized void startInternal() throws LifecycleException {
Expand All @@ -90,4 +96,3 @@ protected synchronized void stopInternal() throws LifecycleException {
}

}

0 comments on commit b7ebbfe

Please sign in to comment.