--- sfx2/source/dialog/filedlghelper.cxx.old	2006-04-14 19:21:26.000000000 +0200
+++ sfx2/source/dialog/filedlghelper.cxx	2006-04-14 19:21:43.000000000 +0200
@@ -102,6 +102,12 @@
 #ifndef  _COM_SUN_STAR_UCB_INTERACTIVEAUGMENTEDIOEXCEPTION_HPP_
 #include <com/sun/star/ucb/InteractiveAugmentedIOException.hpp>
 #endif
+#ifndef  _COM_SUN_STAR_UCB_INTERACTIVENETWORKGENERALEXCEPTION_HPP_
+#include <com/sun/star/ucb/InteractiveNetworkGeneralException.hpp>
+#endif
+#ifndef  _COM_SUN_STAR_IO_IOEXCEPTION_HPP_
+#include <com/sun/star/io/IOException.hpp>
+#endif
 
 #ifndef _COMPHELPER_PROCESSFACTORY_HXX_
 #include <comphelper/processfactory.hxx>
@@ -2404,6 +2410,15 @@ int impl_isFolder( const OUString& rPath
 	catch ( star::ucb::InteractiveAugmentedIOException const & )
 	{
 	}
+	catch ( star::uno::RuntimeException const & )
+	{
+	}
+	catch ( star::ucb::InteractiveNetworkGeneralException const & )
+	{
+	}
+	catch ( star::io::IOException const & )
+	{
+	}
 
 	return -1;
 }
