summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMahdi Tizabi <m.m.mozaffart@gmail.com>2022-06-29 22:08:34 +0430
committerHossein <hossein@libreoffice.org>2022-09-15 15:10:35 +0200
commitcab4fd84ff9f59027d4de5a0bb96d50b7b07df13 (patch)
tree038cace8ffb70f7129d47eb068732d0700564896 /shell
parent7f04bb393f830a2983e3e26485bbe217c66006ff (diff)
tdf#42982 Improved UNO API error reporting
Making `RuntimeException` instances's messages in 'SyncDbusSessionHelper.hxx' more clear. Change-Id: I40105102f8785536d29e103a44d20d11c68943bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136629 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/sessioninstall/SyncDbusSessionHelper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/sessioninstall/SyncDbusSessionHelper.hxx b/shell/source/sessioninstall/SyncDbusSessionHelper.hxx
index 7812604c9e01..4daa458509bf 100644
--- a/shell/source/sessioninstall/SyncDbusSessionHelper.hxx
+++ b/shell/source/sessioninstall/SyncDbusSessionHelper.hxx
@@ -43,7 +43,7 @@ namespace shell::sessioninstall
virtual void SAL_CALL InstallGStreamerResources( const css::uno::Sequence< OUString >& resources, const OUString& interaction ) override;
virtual void SAL_CALL InstallResources( const css::uno::Sequence< OUString >& /* types */, const css::uno::Sequence< OUString >& /* resources */, const OUString& /* interaction */ ) override
- { throw css::uno::RuntimeException(); } // not implemented
+ { throw css::uno::RuntimeException("InstallResources is not implemented"); } // not implemented
virtual void SAL_CALL RemovePackageByFiles( const css::uno::Sequence< OUString >& files, const OUString& interaction ) override;
@@ -53,7 +53,7 @@ namespace shell::sessioninstall
virtual void SAL_CALL IsInstalled( const OUString& /* package_name */, const OUString& /* interaction */, sal_Bool& /* installed */ ) override;
virtual void SAL_CALL SearchFile( const OUString& /* file_name */, const OUString& /* interaction */, sal_Bool& /* installed */, OUString& /* package_name */ ) override
- { throw css::uno::RuntimeException(); } // not implemented
+ { throw css::uno::RuntimeException("SearchFile is not implemented"); } // not implemented
private:
SyncDbusSessionHelper( const SyncDbusSessionHelper& ) = delete;