Improve the reporting of problems when various exceptional conditions occur
There are several places in the code where error checking is done on a group of operations, and this can make debugging harder.
For example, there are places where a parameter is fetched from a parameter set and then used in some way, but the error message doesn't distinguish between a problem with the parameter set or the use of the parameter.
And, there are other places where an exception catch-all block is used instead of catching different, known types of exceptions and reporting the details of the known exceptions.
It would be nice to improve the known places where we have code like this.