Currently in the core SDK there are plenty of instances in which a generic 'Exception' is thrown. Spotbugs is flagging this as warnings and thus there is a need to be more specific in the exceptions we throw and how we handle them. Updating the current exceptions would result in a breaking change and thus we have relied on simply suppressing these warnings. Moving forward as we reorganize with Kiota we must ensure that the classes we keep/update follow the updated Spotbugs convention of more specific exception handling.
Currently in the core SDK there are plenty of instances in which a generic 'Exception' is thrown. Spotbugs is flagging this as warnings and thus there is a need to be more specific in the exceptions we throw and how we handle them. Updating the current exceptions would result in a breaking change and thus we have relied on simply suppressing these warnings. Moving forward as we reorganize with Kiota we must ensure that the classes we keep/update follow the updated Spotbugs convention of more specific exception handling.