You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2012/06/04 11:54:23 UTC
[jira] [Commented] (LUCENE-4106) StopFillCacheException is defined
twice and the one is actually thrown is private and not catchable
[ 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