ChenYuwang created CONFIGURATION-825:
----------------------------------------

             Summary:  INIConfiguration marks exceptions that will not be thrown
                 Key: CONFIGURATION-825
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-825
             Project: Commons Configuration
          Issue Type: Improvement
          Components: Expression engine
    Affects Versions: 2.8.0
         Environment: java 8,win ,the file content is "/error/"
            Reporter: ChenYuwang
             Fix For: 2.9.0


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/"



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to