summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-13 12:46:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-13 14:56:18 +0000
commit964c4183df0f775e92a9bdda287f6f2573d0073c (patch)
tree142d25d6be4097ee16e6540aad46c1b1263befef /ucb/source
parentc7051732c0751a361cdfca1707111a53bef6aab4 (diff)
coverity#707426 Uncaught exception
Change-Id: Iff174a7398c5e3d506418b4587fe604a1d46972c
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/ftp/ftpurl.cxx2
-rw-r--r--ucb/source/ucp/ftp/ftpurl.hxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx
index c34917b04a37..9ec0183248fc 100644
--- a/ucb/source/ucp/ftp/ftpurl.cxx
+++ b/ucb/source/ucp/ftp/ftpurl.cxx
@@ -596,7 +596,7 @@ OUString FTPURL::net_title() const
FTPDirentry FTPURL::direntry() const
- throw(curl_exception)
+ throw (curl_exception, malformed_exception)
{
OUString nettitle = net_title();
FTPDirentry aDirentry;
diff --git a/ucb/source/ucp/ftp/ftpurl.hxx b/ucb/source/ucp/ftp/ftpurl.hxx
index 511c29c3f0ce..b82adb3ab668 100644
--- a/ucb/source/ucp/ftp/ftpurl.hxx
+++ b/ucb/source/ucp/ftp/ftpurl.hxx
@@ -126,7 +126,8 @@ namespace ftp {
// seeked to the beginning of.
oslFileHandle open() throw(curl_exception);
- FTPDirentry direntry() const throw(curl_exception);
+ FTPDirentry direntry() const
+ throw(curl_exception, malformed_exception);
void insert(bool ReplaceExisting,void* stream) const
throw(curl_exception);