summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/source/app/app.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 7080b57efc54..c4e972909099 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1730,6 +1730,21 @@ int Desktop::Main()
OfficeIPCThread::SetDowning();
FatalError( MakeStartupErrorMessage(exAnyCfg.Message) );
}
+ catch( const ::com::sun::star::uno::Exception& exUNO)
+ {
+ OfficeIPCThread::SetDowning();
+ FatalError( exUNO.Message);
+ }
+ catch( const std::exception& exSTD)
+ {
+ OfficeIPCThread::SetDowning();
+ FatalError( OUString::createFromAscii( exSTD.what()));
+ }
+ catch( ...)
+ {
+ OfficeIPCThread::SetDowning();
+ FatalError( OUString(RTL_CONSTASCII_USTRINGPARAM( "Caught Unknown Exception: Aborting!")));
+ }
}
else
{