You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "selckin (JIRA)" <ji...@apache.org> on 2012/06/04 11:40:23 UTC
[jira] [Created] (LUCENE-4106) StopFillCacheException is defined
twice and the one is actually thrown is private and not catchable
selckin created LUCENE-4106:
-------------------------------
Summary: StopFillCacheException is defined twice and the one is actually thrown is private and not catchable
Key: LUCENE-4106
URL: https://issues.apache.org/jira/browse/LUCENE-4106
Project: Lucene - Java
Issue Type: Bug
Reporter: selckin
lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
145: static final class StopFillCacheException extends RuntimeException {
383: } catch (StopFillCacheException stop) {
456: } catch (StopFillCacheException stop) {
560: } catch (StopFillCacheException stop) {
710: } catch (StopFillCacheException stop) {
798: } catch (StopFillCacheException stop) {
887: } catch (StopFillCacheException stop) {
lucene/core/src/java/org/apache/lucene/search/FieldCache.java
57: public static final class StopFillCacheException extends RuntimeException {
216: throw new FieldCacheImpl.StopFillCacheException();
232: throw new FieldCacheImpl.StopFillCacheException();
248: throw new FieldCacheImpl.StopFillCacheException();
264: throw new FieldCacheImpl.StopFillCacheException();
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-4106) StopFillCacheException is defined
twice and the one is actually thrown is private and not catchable
Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288457#comment-13288457 ]
Uwe Schindler commented on LUCENE-4106:
---------------------------------------
In which version do you see this. We had lots of refecatorings in trunk, maybe it is a relict. But the numeric FieldCache code should fail to work, if this is wrong?
> StopFillCacheException is defined twice and the one is actually thrown is private and not catchable
> ---------------------------------------------------------------------------------------------------
>
> Key: LUCENE-4106
> URL: https://issues.apache.org/jira/browse/LUCENE-4106
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: selckin
>
> {code}
> lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
> 145: static final class StopFillCacheException extends RuntimeException {
> 383: } catch (StopFillCacheException stop) {
> 456: } catch (StopFillCacheException stop) {
> 560: } catch (StopFillCacheException stop) {
> 710: } catch (StopFillCacheException stop) {
> 798: } catch (StopFillCacheException stop) {
> 887: } catch (StopFillCacheException stop) {
> lucene/core/src/java/org/apache/lucene/search/FieldCache.java
> 57: public static final class StopFillCacheException extends RuntimeException {
> 216: throw new FieldCacheImpl.StopFillCacheException();
> 232: throw new FieldCacheImpl.StopFillCacheException();
> 248: throw new FieldCacheImpl.StopFillCacheException();
> 264: throw new FieldCacheImpl.StopFillCacheException();
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Comment Edited] (LUCENE-4106) StopFillCacheException is
defined twice and the one is actually thrown is private and not catchable
Posted by "selckin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288460#comment-13288460 ]
selckin edited comment on LUCENE-4106 at 6/4/12 9:58 AM:
---------------------------------------------------------
But then if you wish to loop over all DoubleField values you need to know to do that check yourself?
{code}
Terms terms = reader.terms(field);
TermsEnum termsEnum = terms.iterator(null);
BytesRef term = termsEnum.next();
if (term != null) {
double min = FieldCache.NUMERIC_UTILS_DOUBLE_PARSER.parseDouble(term);
double max = min;
try {
while ((term = termsEnum.next()) != null) {
max = FieldCache.NUMERIC_UTILS_DOUBLE_PARSER.parseDouble(term);
}
} catch (StopFillCacheException ignored) {
}
doSomething(min, max);
}
{code}
Or am i indexing something wrong to hit that exception? (i don't think i am)
was (Author: selckin):
But then if you wish to loop over all DoubleField values you need to know to do that check yourself?
{{code}}
Terms terms = reader.terms(field);
TermsEnum termsEnum = terms.iterator(null);
BytesRef term = termsEnum.next();
if (term != null) {
double min = FieldCache.NUMERIC_UTILS_DOUBLE_PARSER.parseDouble(term);
double max = min;
try {
while ((term = termsEnum.next()) != null) {
max = FieldCache.NUMERIC_UTILS_DOUBLE_PARSER.parseDouble(term);
}
} catch (StopFillCacheException ignored) {
}
doSomething(min, max);
}
{{code}}
Or am i indexing something wrong to hit that exception? (i don't think i am)
> StopFillCacheException is defined twice and the one is actually thrown is private and not catchable
> ---------------------------------------------------------------------------------------------------
>
> Key: LUCENE-4106
> URL: https://issues.apache.org/jira/browse/LUCENE-4106
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: selckin
> Assignee: Uwe Schindler
>
> {code}
> lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
> 145: static final class StopFillCacheException extends RuntimeException {
> 383: } catch (StopFillCacheException stop) {
> 456: } catch (StopFillCacheException stop) {
> 560: } catch (StopFillCacheException stop) {
> 710: } catch (StopFillCacheException stop) {
> 798: } catch (StopFillCacheException stop) {
> 887: } catch (StopFillCacheException stop) {
> lucene/core/src/java/org/apache/lucene/search/FieldCache.java
> 57: public static final class StopFillCacheException extends RuntimeException {
> 216: throw new FieldCacheImpl.StopFillCacheException();
> 232: throw new FieldCacheImpl.StopFillCacheException();
> 248: throw new FieldCacheImpl.StopFillCacheException();
> 264: throw new FieldCacheImpl.StopFillCacheException();
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Resolved] (LUCENE-4106) StopFillCacheException is defined
twice and the one is actually thrown is private and not catchable
Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler resolved LUCENE-4106.
-----------------------------------
Resolution: Fixed
Fix Version/s: 5.0
4.0
Committed trunk revision: 1351108
Committed 4.x revision: 1351109
Lucene 3.6.0 is not broken, it only has the private Exception.
> StopFillCacheException is defined twice and the one is actually thrown is private and not catchable
> ---------------------------------------------------------------------------------------------------
>
> Key: LUCENE-4106
> URL: https://issues.apache.org/jira/browse/LUCENE-4106
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: selckin
> Assignee: Uwe Schindler
> Fix For: 4.0, 5.0
>
> Attachments: LUCENE-4106.patch, LUCENE-4106.patch
>
>
> {code}
> lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
> 145: static final class StopFillCacheException extends RuntimeException {
> 383: } catch (StopFillCacheException stop) {
> 456: } catch (StopFillCacheException stop) {
> 560: } catch (StopFillCacheException stop) {
> 710: } catch (StopFillCacheException stop) {
> 798: } catch (StopFillCacheException stop) {
> 887: } catch (StopFillCacheException stop) {
> lucene/core/src/java/org/apache/lucene/search/FieldCache.java
> 57: public static final class StopFillCacheException extends RuntimeException {
> 216: throw new FieldCacheImpl.StopFillCacheException();
> 232: throw new FieldCacheImpl.StopFillCacheException();
> 248: throw new FieldCacheImpl.StopFillCacheException();
> 264: throw new FieldCacheImpl.StopFillCacheException();
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (LUCENE-4106) StopFillCacheException is defined
twice and the one is actually thrown is private and not catchable
Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler updated LUCENE-4106:
----------------------------------
Attachment: LUCENE-4106.patch
Easy patch. This one removes the obsolete public declaration in Lucene trunk.
If yor really want to catch this internal Exception, you can do this via RuntimeException.
> StopFillCacheException is defined twice and the one is actually thrown is private and not catchable
> ---------------------------------------------------------------------------------------------------
>
> Key: LUCENE-4106
> URL: https://issues.apache.org/jira/browse/LUCENE-4106
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: selckin
> Assignee: Uwe Schindler
> Attachments: LUCENE-4106.patch
>
>
> {code}
> lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
> 145: static final class StopFillCacheException extends RuntimeException {
> 383: } catch (StopFillCacheException stop) {
> 456: } catch (StopFillCacheException stop) {
> 560: } catch (StopFillCacheException stop) {
> 710: } catch (StopFillCacheException stop) {
> 798: } catch (StopFillCacheException stop) {
> 887: } catch (StopFillCacheException stop) {
> lucene/core/src/java/org/apache/lucene/search/FieldCache.java
> 57: public static final class StopFillCacheException extends RuntimeException {
> 216: throw new FieldCacheImpl.StopFillCacheException();
> 232: throw new FieldCacheImpl.StopFillCacheException();
> 248: throw new FieldCacheImpl.StopFillCacheException();
> 264: throw new FieldCacheImpl.StopFillCacheException();
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (LUCENE-4106) StopFillCacheException is defined
twice and the one is actually thrown is private and not catchable
Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler updated LUCENE-4106:
----------------------------------
Attachment: LUCENE-4106.patch
Simple patch again, this time using the public Exception, removing the private one.
I have no preference, but the duplication has to be fixed (possibly also in 3.6)
> StopFillCacheException is defined twice and the one is actually thrown is private and not catchable
> ---------------------------------------------------------------------------------------------------
>
> Key: LUCENE-4106
> URL: https://issues.apache.org/jira/browse/LUCENE-4106
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: selckin
> Assignee: Uwe Schindler
> Attachments: LUCENE-4106.patch, LUCENE-4106.patch
>
>
> {code}
> lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
> 145: static final class StopFillCacheException extends RuntimeException {
> 383: } catch (StopFillCacheException stop) {
> 456: } catch (StopFillCacheException stop) {
> 560: } catch (StopFillCacheException stop) {
> 710: } catch (StopFillCacheException stop) {
> 798: } catch (StopFillCacheException stop) {
> 887: } catch (StopFillCacheException stop) {
> lucene/core/src/java/org/apache/lucene/search/FieldCache.java
> 57: public static final class StopFillCacheException extends RuntimeException {
> 216: throw new FieldCacheImpl.StopFillCacheException();
> 232: throw new FieldCacheImpl.StopFillCacheException();
> 248: throw new FieldCacheImpl.StopFillCacheException();
> 264: throw new FieldCacheImpl.StopFillCacheException();
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (LUCENE-4106) StopFillCacheException is defined
twice and the one is actually thrown is private and not catchable
Posted by "selckin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
selckin updated LUCENE-4106:
----------------------------
Description:
{code}
lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
145: static final class StopFillCacheException extends RuntimeException {
383: } catch (StopFillCacheException stop) {
456: } catch (StopFillCacheException stop) {
560: } catch (StopFillCacheException stop) {
710: } catch (StopFillCacheException stop) {
798: } catch (StopFillCacheException stop) {
887: } catch (StopFillCacheException stop) {
lucene/core/src/java/org/apache/lucene/search/FieldCache.java
57: public static final class StopFillCacheException extends RuntimeException {
216: throw new FieldCacheImpl.StopFillCacheException();
232: throw new FieldCacheImpl.StopFillCacheException();
248: throw new FieldCacheImpl.StopFillCacheException();
264: throw new FieldCacheImpl.StopFillCacheException();
{code}
was:
lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
145: static final class StopFillCacheException extends RuntimeException {
383: } catch (StopFillCacheException stop) {
456: } catch (StopFillCacheException stop) {
560: } catch (StopFillCacheException stop) {
710: } catch (StopFillCacheException stop) {
798: } catch (StopFillCacheException stop) {
887: } catch (StopFillCacheException stop) {
lucene/core/src/java/org/apache/lucene/search/FieldCache.java
57: public static final class StopFillCacheException extends RuntimeException {
216: throw new FieldCacheImpl.StopFillCacheException();
232: throw new FieldCacheImpl.StopFillCacheException();
248: throw new FieldCacheImpl.StopFillCacheException();
264: throw new FieldCacheImpl.StopFillCacheException();
> StopFillCacheException is defined twice and the one is actually thrown is private and not catchable
> ---------------------------------------------------------------------------------------------------
>
> Key: LUCENE-4106
> URL: https://issues.apache.org/jira/browse/LUCENE-4106
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: selckin
>
> {code}
> lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
> 145: static final class StopFillCacheException extends RuntimeException {
> 383: } catch (StopFillCacheException stop) {
> 456: } catch (StopFillCacheException stop) {
> 560: } catch (StopFillCacheException stop) {
> 710: } catch (StopFillCacheException stop) {
> 798: } catch (StopFillCacheException stop) {
> 887: } catch (StopFillCacheException stop) {
> lucene/core/src/java/org/apache/lucene/search/FieldCache.java
> 57: public static final class StopFillCacheException extends RuntimeException {
> 216: throw new FieldCacheImpl.StopFillCacheException();
> 232: throw new FieldCacheImpl.StopFillCacheException();
> 248: throw new FieldCacheImpl.StopFillCacheException();
> 264: throw new FieldCacheImpl.StopFillCacheException();
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-4106) StopFillCacheException is defined
twice and the one is actually thrown is private and not catchable
Posted by "selckin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288460#comment-13288460 ]
selckin commented on LUCENE-4106:
---------------------------------
But then if you wish to loop over all DoubleField values you need to know to do that check yourself?
{{code}}
Terms terms = reader.terms(field);
TermsEnum termsEnum = terms.iterator(null);
BytesRef term = termsEnum.next();
if (term != null) {
double min = FieldCache.NUMERIC_UTILS_DOUBLE_PARSER.parseDouble(term);
double max = min;
try {
while ((term = termsEnum.next()) != null) {
max = FieldCache.NUMERIC_UTILS_DOUBLE_PARSER.parseDouble(term);
}
} catch (StopFillCacheException ignored) {
}
doSomething(min, max);
}
{{code}}
Or am i indexing something wrong to hit that exception? (i don't think i am)
> StopFillCacheException is defined twice and the one is actually thrown is private and not catchable
> ---------------------------------------------------------------------------------------------------
>
> Key: LUCENE-4106
> URL: https://issues.apache.org/jira/browse/LUCENE-4106
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: selckin
> Assignee: Uwe Schindler
>
> {code}
> lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
> 145: static final class StopFillCacheException extends RuntimeException {
> 383: } catch (StopFillCacheException stop) {
> 456: } catch (StopFillCacheException stop) {
> 560: } catch (StopFillCacheException stop) {
> 710: } catch (StopFillCacheException stop) {
> 798: } catch (StopFillCacheException stop) {
> 887: } catch (StopFillCacheException stop) {
> lucene/core/src/java/org/apache/lucene/search/FieldCache.java
> 57: public static final class StopFillCacheException extends RuntimeException {
> 216: throw new FieldCacheImpl.StopFillCacheException();
> 232: throw new FieldCacheImpl.StopFillCacheException();
> 248: throw new FieldCacheImpl.StopFillCacheException();
> 264: throw new FieldCacheImpl.StopFillCacheException();
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-4106) StopFillCacheException is defined
twice and the one is actually thrown is private and not catchable
Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288463#comment-13288463 ]
Uwe Schindler commented on LUCENE-4106:
---------------------------------------
@selckin: I agree, we could move the Exception to the FC interface as public one.
The code you are using is very expert, the Exception was only used as a Hack to break ther iteration when populating the FieldCache, but it might be good to make it public.
If you really want to catch it with current code, catch RuntimeEx.
> StopFillCacheException is defined twice and the one is actually thrown is private and not catchable
> ---------------------------------------------------------------------------------------------------
>
> Key: LUCENE-4106
> URL: https://issues.apache.org/jira/browse/LUCENE-4106
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: selckin
> Assignee: Uwe Schindler
> Attachments: LUCENE-4106.patch
>
>
> {code}
> lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
> 145: static final class StopFillCacheException extends RuntimeException {
> 383: } catch (StopFillCacheException stop) {
> 456: } catch (StopFillCacheException stop) {
> 560: } catch (StopFillCacheException stop) {
> 710: } catch (StopFillCacheException stop) {
> 798: } catch (StopFillCacheException stop) {
> 887: } catch (StopFillCacheException stop) {
> lucene/core/src/java/org/apache/lucene/search/FieldCache.java
> 57: public static final class StopFillCacheException extends RuntimeException {
> 216: throw new FieldCacheImpl.StopFillCacheException();
> 232: throw new FieldCacheImpl.StopFillCacheException();
> 248: throw new FieldCacheImpl.StopFillCacheException();
> 264: throw new FieldCacheImpl.StopFillCacheException();
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-4106) StopFillCacheException is defined
twice and the one is actually thrown is private and not catchable
Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288459#comment-13288459 ]
Uwe Schindler commented on LUCENE-4106:
---------------------------------------
Ah, the public declaration in the FC interface is obsolete and unusded, we should remove it.
The Exception is internal and not be intended to be used outside of Lucene's core.
> StopFillCacheException is defined twice and the one is actually thrown is private and not catchable
> ---------------------------------------------------------------------------------------------------
>
> Key: LUCENE-4106
> URL: https://issues.apache.org/jira/browse/LUCENE-4106
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: selckin
>
> {code}
> lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
> 145: static final class StopFillCacheException extends RuntimeException {
> 383: } catch (StopFillCacheException stop) {
> 456: } catch (StopFillCacheException stop) {
> 560: } catch (StopFillCacheException stop) {
> 710: } catch (StopFillCacheException stop) {
> 798: } catch (StopFillCacheException stop) {
> 887: } catch (StopFillCacheException stop) {
> lucene/core/src/java/org/apache/lucene/search/FieldCache.java
> 57: public static final class StopFillCacheException extends RuntimeException {
> 216: throw new FieldCacheImpl.StopFillCacheException();
> 232: throw new FieldCacheImpl.StopFillCacheException();
> 248: throw new FieldCacheImpl.StopFillCacheException();
> 264: throw new FieldCacheImpl.StopFillCacheException();
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Assigned] (LUCENE-4106) StopFillCacheException is defined
twice and the one is actually thrown is private and not catchable
Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler reassigned LUCENE-4106:
-------------------------------------
Assignee: Uwe Schindler
> StopFillCacheException is defined twice and the one is actually thrown is private and not catchable
> ---------------------------------------------------------------------------------------------------
>
> Key: LUCENE-4106
> URL: https://issues.apache.org/jira/browse/LUCENE-4106
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: selckin
> Assignee: Uwe Schindler
>
> {code}
> lucene/core/src/java/org/apache/lucene/search/FieldCacheImpl.java
> 145: static final class StopFillCacheException extends RuntimeException {
> 383: } catch (StopFillCacheException stop) {
> 456: } catch (StopFillCacheException stop) {
> 560: } catch (StopFillCacheException stop) {
> 710: } catch (StopFillCacheException stop) {
> 798: } catch (StopFillCacheException stop) {
> 887: } catch (StopFillCacheException stop) {
> lucene/core/src/java/org/apache/lucene/search/FieldCache.java
> 57: public static final class StopFillCacheException extends RuntimeException {
> 216: throw new FieldCacheImpl.StopFillCacheException();
> 232: throw new FieldCacheImpl.StopFillCacheException();
> 248: throw new FieldCacheImpl.StopFillCacheException();
> 264: throw new FieldCacheImpl.StopFillCacheException();
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org