Often you should modify the type of an exception, after which you can keeping the initial exception as inner exception is the best you can do. Though it should be throw new MyCustomException(myMessage, ex); naturally. Your second illustration will reset the exception's stack trace. The first most precisely preserves the https://emilianohjdnm.blogrenanda.com/37462660/details-fiction-and-windows-10-iot-enterprise-ltsc-2021-20pc