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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants