Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-825

INIConfiguration marks exceptions that will not be thrown

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.8.0
    • 2.11.1
    • Expression engine
    • None
    • java 8,win ,the file content is "/error/"

    Description

      INIConfiguration.read() & INIConfiguration.write() marks ConfigurationException, but has no chance to throw. I understand that a ConfigurationException should be thrown if INIConfiguration read something that is not  ini‘s format, but currently it doesn't. INIConfiguration just ignores everything it doesn't recognize. For example, the file content is "/error/"

      Attachments

        Activity

          People

            Unassigned Unassigned
            Paradoxw ChenYuwang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: