Quoth Chris Vine:
> try {
>   std::cout << "DB - Password: " << password << std::endl;
> }
> catch (Glib::Exception& e) {
>   std::cerr << e.what().raw() << std::endl;
> }
> catch (std::exception& e) {
>   std::cerr << e.what() << std::endl;
> }

If you're going to catch exceptions as references (which you should), make
sure you catch them as const references.  Otherwise they may not catch all
throw cases.


_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to