Changing some trowables cause with exception in exception handling