At times you ought to transform the sort of an exception, and then keeping the first exception as interior exception is the greatest you are able to do. Even though it ought to be throw new MyCustomException(myMessage, ex); naturally.Alternatively, you can use git stash or even more extensively git stash conserve "title description" to save your co