shell/source/sessioninstall/SyncDbusSessionHelper.hxx |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit cab4fd84ff9f59027d4de5a0bb96d50b7b07df13
Author: Mahdi Tizabi
AuthorDate: Wed Jun 29 22:08:34 2022 +0430
Commit: Hossein
CommitDate: Thu Sep 15 15:10:35 2022 +0200
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
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;