diff options
-rw-r--r-- | ucb/source/ucp/ftp/ftpurl.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpurl.hxx | 3 |
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); |