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

eclipse generated try/catch discards exception

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.4, 6.0
    • None
    • None
    • New

    Description

      The (horrible) eclipse default is something like this:

      // TODO: autogenerated stub
      e.printStackTrace();
      

      The current eclipse config does this, which is better, but loses the original exc:

      throw new RuntimeException()
      

      But it should be:

      throw new RuntimeException(${exception_var})
      

      Attachments

        1. LUCENE-6877.patch
          12 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: