summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-06 09:23:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-06 09:23:18 +0000
commita04b96e49bbd8c2ca066accb46da6169fa348487 (patch)
tree07ae54f6dcc7a8f295d144e8734c8b7284d6e9bb /ucb
parent78f042b9ab83ac43e9e341486bb30660a4258a11 (diff)
coverity#1338236 Uncaught exception
Change-Id: Ia2fc54862dfc0f6367f52fd471d6066d915264b6
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/ftp/ftpurl.cxx2
-rw-r--r--ucb/source/ucp/ftp/ftpurl.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx
index 58c909b404d6..8164ce31c2e8 100644
--- a/ucb/source/ucp/ftp/ftpurl.cxx
+++ b/ucb/source/ucp/ftp/ftpurl.cxx
@@ -387,7 +387,7 @@ namespace ftp {
urlParAscii.getStr());
oslFileHandle FTPURL::open()
- throw(curl_exception)
+ throw(curl_exception, std::exception)
{
if(m_aPathSegmentVec.empty())
throw curl_exception(CURLE_FTP_COULDNT_RETR_FILE);
diff --git a/ucb/source/ucp/ftp/ftpurl.hxx b/ucb/source/ucp/ftp/ftpurl.hxx
index 6034abf82a5f..1a18ed683429 100644
--- a/ucb/source/ucp/ftp/ftpurl.hxx
+++ b/ucb/source/ucp/ftp/ftpurl.hxx
@@ -122,7 +122,7 @@ namespace ftp {
// returns a pointer to an open tempfile,
// sought to the beginning of.
- oslFileHandle open() throw(curl_exception);
+ oslFileHandle open() throw(curl_exception, std::exception);
FTPDirentry direntry() const
throw(curl_exception, malformed_exception, std::exception);