Windows Server 2012 R2 Essentials 5PC Fundamentals Explained
Sometimes you ought to alter the sort of an exception, and then preserving the original exception as internal exception is the greatest you can do. Nevertheless it should be throw new MyCustomException(myMessage, ex); of course.Your second illustration will reset the exception's stack trace. The first most properly preserves the origins from the ex