~michihenning/storage-framework/stand-alone-provider-headers

« back to all changes in this revision

Viewing changes to include/unity/storage/qt/client/internal/remote_client/Handler.h

  • Committer: Michi Henning
  • Date: 2016-08-23 23:45:34 UTC
  • mfrom: (53.1.4 devel)
  • Revision ID: michi.henning@canonical.com-20160823234534-4owayhnhcp67g39q
Merged devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
                                  auto ep = unmarshal_exception(call);
81
81
                                  std::rethrow_exception(ep);
82
82
                              }
 
83
                              // We catch some exceptions that are "surprising" so we can log those.
 
84
                              catch (LocalCommsException const& e)
 
85
                              {
 
86
                                  qCritical() << "provider exception:" << e.what();
 
87
                                  make_exceptional_future<T>(qf_, e);
 
88
                              }
 
89
                              catch (RemoteCommsException const& e)
 
90
                              {
 
91
                                  qCritical() << "provider exception:" << e.what();
 
92
                                  make_exceptional_future<T>(qf_, e);
 
93
                              }
 
94
                              catch (ResourceException const& e)
 
95
                              {
 
96
                                  qCritical() << "provider exception:" << e.what();
 
97
                                  make_exceptional_future<T>(qf_, e);
 
98
                              }
83
99
                              catch (StorageException const& e)
84
100
                              {
85
101
                                  make_exceptional_future<T>(qf_, e);
86
 
                                  return;
87
102
                              }
88
103
                              // LCOV_EXCL_START
89
104
                              catch (...)