Overview
Features
Download
Documentation
Community
Add-Ons & Services

::Poco::Util::SystemConfiguration::setRaw

Discussion of ideas for features and new projects based on POCO.

::Poco::Util::SystemConfiguration::setRaw

Postby elemings » 07 Oct 2011, 22:20

155 void SystemConfiguration::setRaw(const std::string& key, const std::string& value)
156 {
157 throw Poco::InvalidAccessException("Attempt to modify a system property", key);
158 }

This code should check the key to make sure it actually exists before throwing this exception. What's wrong with adding keys?
elemings
 
Posts: 20
Joined: 02 Nov 2010, 18:17

Re: ::Poco::Util::SystemConfiguration::setRaw

Postby guenter » 03 Dec 2011, 17:26

SystemConfiguration is strictly read-only. Okay, the exception message can be a bit misleading...
guenter
 
Posts: 1135
Joined: 11 Jul 2006, 16:27
Location: Austria


Return to Wishlist

Who is online

Users browsing this forum: No registered users and 1 guest

cron