Skip to content

Commit

Permalink
Catch IllegalStateException and rethrow as RepositoryException
Browse files Browse the repository at this point in the history
  • Loading branch information
stampy88 committed Feb 26, 2012
1 parent a4d0b98 commit 663077d
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -120,6 +120,9 @@ public boolean match(ProcessingModel model) {
});
} catch (Db4oException e) {
throw new RepositoryException(e);
} catch (IllegalStateException e) {
// this is thrown if the class structure is incompatible with the current structure
throw new RepositoryException(e);
}
}
}

0 comments on commit 663077d

Please sign in to comment.