-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve exceptions in ResourceObjectConverter
Exceptions thrown in this class provided too little context. For example, there was no indication of the resource on which the problem occurred. This could be solved by upper layers, but that would require extensive extension wrapping - which may or may not be good; but there's no time to consider all consequences. Instead, this commit provides reasonable context in (almost) all messages thrown in this class. Resource name, object class, object type, and optionally connector information is added. This should resolve MID-6712. Some tests (checking the exceptions) may fail. They will be adapted later.
- Loading branch information
Showing
8 changed files
with
301 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.