lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4106) StopFillCacheException is defined twice and the one is actually thrown is private and not catchable
Date Mon, 04 Jun 2012 10:12:23 GMT

     [ 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


Mime
View raw message