commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CONFIGURATION-45) [configuration] Fails silently if asked to save to an invalid filename
Date Wed, 25 Apr 2007 22:40:15 GMT

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

Emmanuel Bourg updated CONFIGURATION-45:
----------------------------------------

    Fix Version/s: 1.1

> [configuration] Fails silently if asked to save to an invalid filename
> ----------------------------------------------------------------------
>
>                 Key: CONFIGURATION-45
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-45
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Operating System: All
> Platform: All
>            Reporter: Iain Shepherd
>             Fix For: 1.1
>
>
> Running code like this...
> FileConfiguration config = new PropertiesConfiguration();
> config.setFile(new File("/invalid/path/my.properties"));
> config.save();
> ...doesn't throw any Exception. AbstractFileConfiguration.save(File) swallows 
> the FileNotFoundException, prints a stack trace, and completes normally, 
> without having saved the file.
> Cheers
> Iain Shepherd

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message