At times you need to change the type of an exception, and then retaining the original exception as internal exception is the best you are able to do. Nevertheless it ought to be toss new MyCustomException(myMessage, ex); of course. I made an effort to incorporate n to the second println https://windows-7-professional-sp99118.thezenweb.com/windows-10-education-n-2pc-retail-online-for-dummies-69316361