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/17 16:08:42 UTC

[jira] [Resolved] (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: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