Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[modbus] Correct exception type in implementation. #8218

Merged
merged 2 commits into from
Jul 28, 2020

Conversation

ssalonen
Copy link
Contributor

@ssalonen ssalonen commented Jul 28, 2020

Implementation was raising IllegalStateException while interface was throwing EndpointNotInitializedException.

This is issue in theory -- all consumers check corresponding thing status first (e.g. in initialize), and only call the method, thus the endpoint is always initialized.

No changes to interface -> no changes to bindings relying on the API.

Signed-off-by: Sami Salonen [email protected]

Interface remains the same.

Signed-off-by: Sami Salonen <[email protected]>
@TravisBuddy
Copy link

Travis tests have failed

Hey @ssalonen,
please read the following log in order to understand the failure reason. There might also be some helpful tips along the way.
It will be awesome if you fix what is wrong and commit the changes.

Signed-off-by: Sami Salonen <[email protected]>
@ssalonen ssalonen requested a review from a team as a code owner July 28, 2020 18:32
@TravisBuddy
Copy link

Travis tests were successful

Hey @ssalonen,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@fwolter fwolter merged commit d017417 into openhab:2.5.x Jul 28, 2020
@fwolter fwolter added this to the 2.5.8 milestone Jul 28, 2020
MPH80 pushed a commit to MPH80/openhab-addons that referenced this pull request Aug 3, 2020
Interface remains the same.

Signed-off-by: Sami Salonen <[email protected]>
Signed-off-by: MPH80 <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
Interface remains the same.

Signed-off-by: Sami Salonen <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
Interface remains the same.

Signed-off-by: Sami Salonen <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
Interface remains the same.

Signed-off-by: Sami Salonen <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
Interface remains the same.

Signed-off-by: Sami Salonen <[email protected]>
DaanMeijer pushed a commit to DaanMeijer/openhab-addons that referenced this pull request Sep 1, 2020
Interface remains the same.

Signed-off-by: Sami Salonen <[email protected]>
Signed-off-by: Daan Meijer <[email protected]>
CSchlipp pushed a commit to CSchlipp/openhab-addons that referenced this pull request Sep 12, 2020
Interface remains the same.

Signed-off-by: Sami Salonen <[email protected]>
markus7017 pushed a commit to markus7017/openhab-addons that referenced this pull request Sep 19, 2020
Interface remains the same.

Signed-off-by: Sami Salonen <[email protected]>
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.

3 participants