[parted-edge] parted-bindings: constructors throwing exceptions
Debarshi 'Rishi' Ray
debarshi.ray at gmail.com
Thu Nov 8 08:51:41 UTC 2007
The following public constructors had the possibility of throwing
std::runtime_error exceptions:
Device::Device()
Device::Device(const std::string& name)
I propose to replace them by the following static factory functions:
Device* Device::probe_all()
Device* Device::get(const std::string& name)
Here is a patch against bindings-rishi.git to do this:
http://rishi.fedorapeople.org/gnu/parted-bindings-throwing-constructors.patch
Comments?
Happy hacking,
Debarshi
--
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu
More information about the parted-edge
mailing list