Skip to content

Update Thrown Exceptions to be More Specific #516

Description

@ramsessanchez

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions