Skip to content

update error handling for checking the RegistrationHandler.classes file. - #104

Merged
smehrbrodt merged 5 commits into
LibreOffice:masterfrom
michaelmassee:error_handler_RegistrationHandler_classes_file
Apr 20, 2023
Merged

update error handling for checking the RegistrationHandler.classes file.#104
smehrbrodt merged 5 commits into
LibreOffice:masterfrom
michaelmassee:error_handler_RegistrationHandler_classes_file

Conversation

@michaelmassee

Copy link
Copy Markdown
Contributor

Check if exist, is a regular file, readable, and not empty

…es not exist in the package defined by company prefix and outputextension

2. display the error dialog in syncExec thread
3. throw an exception when error with RegistrationHandler.classes file
@@ -0,0 +1,29 @@
package org.libreoffice.plugin.core.utils;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the license header to this file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wich one ?

* usage:
* Display.getDefault().syncExec(new ErrorDlg(errMsg));
*
* @author Michael Massee

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No more @author annotations please, we use git to track authorship.

@smehrbrodt
smehrbrodt merged commit 179c20d into LibreOffice:master Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants