CloudNet-v2 icon indicating copy to clipboard operation
CloudNet-v2 copied to clipboard

Reworking exception handling on the cloud

Open TheMeinerLP opened this issue 4 years ago • 1 comments

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

TheMeinerLP avatar May 20 '20 14:05 TheMeinerLP

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 avatar May 20 '20 17:05 GiantTreeLP