Skip to content

Commit

Permalink
Resets the list's state upon encountering an exception.
Browse files Browse the repository at this point in the history
git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@299 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
lucboudreau committed Feb 9, 2010
1 parent 2ab221b commit 991f4af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/olap4j/driver/xmla/DeferredNamedListImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ private NamedList<T> getList() {
populateList(list);
state = State.POPULATED;
} catch (OlapException e) {
state = State.NEW;
// TODO: fetch metadata on getCollection() method, so we
// can't get an exception while traversing the list
throw new RuntimeException(e);
Expand Down

0 comments on commit 991f4af

Please sign in to comment.