~ubuntu-branches/ubuntu/natty/xmlrpc-c/natty

« back to all changes in this revision

Viewing changes to examples/cpp/sample_add_client_complex.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-01-06 18:56:02 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20110106185602-09og2x3suqlzbf6s
Tags: 1.16.32-0ubuntu1
* New upstream version (stable release). LP: #659591.
  - No unresolved symbols in the shared libraries. LP: #690779.
  - Builds with --no-add-needed and --as-needed.
* Rename shared library packages.
* Add symbols files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
 
62
62
        cout << "Result of RPC (sum of 5 and 7): " << sum << endl;
63
63
 
64
 
    } catch (girerr::error const error) {
65
 
        cerr << "Client threw error: " << error.what() << endl;
 
64
    } catch (exception const& e) {
 
65
        cerr << "Client threw error: " << e.what() << endl;
66
66
    } catch (...) {
67
67
        cerr << "Client threw unexpected error." << endl;
68
68
    }