[ 
https://issues.apache.org/jira/browse/CONFIGURATION-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary D. Gregory updated CONFIGURATION-825:
------------------------------------------
    Fix Version/s: 2.10.1
                       (was: 2.10.0)

>  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
>            Priority: Major
>             Fix For: 2.10.1
>
>
> 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