[
https://issues.apache.org/jira/browse/GEODE-2886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16070686#comment-16070686
]
ASF GitHub Bot commented on GEODE-2886:
---------------------------------------
Github user PurelyApplied commented on the issue:
https://github.com/apache/geode/pull/609
If you are using IntelliJ as your IDE, please remember to update your style
file to that located in `geode/etc/intellij-java-modified-google-style.xml` to
be consistent with Geode's established style guide. This file was updated June
13 with commit `a561bd12` to be consistent with documented expectations.
After having done so, please optimize the imports to the correct order and
to eliminate the use of the wildcard imports.
> The WaitUntilFlushedFunction throws an IllegalArgumentException instead of an
> IllegalStateException
> ---------------------------------------------------------------------------------------------------
>
> Key: GEODE-2886
> URL: https://issues.apache.org/jira/browse/GEODE-2886
> Project: Geode
> Issue Type: Bug
> Components: lucene
> Reporter: Barry Oglesby
> Assignee: Amey Barve
>
> When the AEQ doesn't exist, the WaitUntilFlushedFunction throws an
> IllegalArgumentException like:
> {noformat}
> Caused by: java.lang.IllegalArgumentException: The AEQ does not exist for the
> index xxx region /yyy
> at
> org.apache.geode.cache.lucene.internal.distributed.WaitUntilFlushedFunction.execute(WaitUntilFlushedFunction.java:89)
> at
> org.apache.geode.internal.cache.execute.AbstractExecution.executeFunctionLocally(AbstractExecution.java:333)
> {noformat}
> The arguments are actually fine so should it instead throw an
> IllegalStateException?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)