Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Reworking exception handling on the cloud #271

Open
TheMeinerLP opened this issue May 20, 2020 · 1 comment
Open

Reworking exception handling on the cloud #271

TheMeinerLP opened this issue May 20, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@TheMeinerLP
Copy link
Contributor

Cause:

We need to rework the excpetion handling in the cloud, because some of the unchecked exception can break the running code. We need to edit the checked exception so that only the unchecked exception is thrown, because Java does not check them and does not interrupt the code in the execution

With a better exception handling, we can implement a logic to log exception in a file or something else.


Example:

Old implementation
image

New implementation
image

@GiantTreeLP
Copy link
Member

This relates to #115 .
Your example shows a non-issue. There is code in CloudNet that is not throwing exceptions and instead is returning invalid data.

@GiantTreeLP GiantTreeLP added the enhancement New feature or request label May 20, 2020
@GiantTreeLP GiantTreeLP added this to To do in Code quality via automation May 20, 2020
@GiantTreeLP GiantTreeLP added this to To do in 2.2.0 via automation May 20, 2020
@GiantTreeLP GiantTreeLP moved this from To do to In progress in 2.2.0 Apr 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
No open projects
2.2.0
  
In progress
Code quality
  
To do
Development

No branches or pull requests

2 participants