Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6254

Reduce number of factory methods in StandardException

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.11.1.1
    • Fix Version/s: 10.11.1.1
    • Component/s: Services
    • Labels:
      None

      Description

      StandardException has many factory methods for creating exceptions and warnings. For example, there are newException() methods for 0 to 8 message arguments. A single method taking a vararg argument could replace those nine methods.

        Attachments

        1. derby-6254-01-a.diff
          7 kB
          Knut Anders Hatlen

          Issue Links

            Activity

              People

              • Assignee:
                knutanders Knut Anders Hatlen
                Reporter:
                knutanders Knut Anders Hatlen
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: