If you really want to take full control of the exceptions you pass to your clients, you can write your own Exception class. Here's how to do that, complete with support for additional properties. If ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results