In some cases you would like to transform the kind of an exception, and then keeping the initial exception as inner exception is the best you are able to do. Though it should be throw new MyCustomException(myMessage, ex); obviously. I tried to increase n to the next println statment and https://margaretd055kfk1.fare-blog.com/profile