Repository: incubator-geode Updated Branches: refs/heads/feature/GEODE-564 6ae2f20d9 -> 071c7087d
fixed review comments Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/071c7087 Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/071c7087 Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/071c7087 Branch: refs/heads/feature/GEODE-564 Commit: 071c7087dbc0128ac6a8f4cdb3fb7d0abc36ff8b Parents: 6ae2f20 Author: Sai Boorlagadda <[email protected]> Authored: Tue Apr 5 15:53:27 2016 -0700 Committer: Sai Boorlagadda <[email protected]> Committed: Tue Apr 5 15:53:27 2016 -0700 ---------------------------------------------------------------------- .../src/main/java/com/gemstone/gemfire/cache/CacheFactory.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/071c7087/geode-core/src/main/java/com/gemstone/gemfire/cache/CacheFactory.java ---------------------------------------------------------------------- diff --git a/geode-core/src/main/java/com/gemstone/gemfire/cache/CacheFactory.java b/geode-core/src/main/java/com/gemstone/gemfire/cache/CacheFactory.java index cfe3dbf..bd3b55f 100755 --- a/geode-core/src/main/java/com/gemstone/gemfire/cache/CacheFactory.java +++ b/geode-core/src/main/java/com/gemstone/gemfire/cache/CacheFactory.java @@ -204,6 +204,8 @@ public class CacheFactory { * @throws RegionExistsException * If the declarative caching XML file describes a region * that already exists (including the root region). + * @throws IllegalStateException if cache already exists and is not compatible + * with the new configuration. * @throws AuthenticationFailedException if authentication fails. * @throws AuthenticationRequiredException if the distributed system is in secure mode * and this new member is not configured with security credentials.
