Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4106

StopFillCacheException is defined twice and the one is actually thrown is private and not catchable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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();
      

        Attachments

        1. LUCENE-4106.patch
          4 kB
          Uwe Schindler
        2. LUCENE-4106.patch
          0.7 kB
          Uwe Schindler

          Activity

            People

            • Assignee:
              uschindler Uwe Schindler
              Reporter:
              selckin selckin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: