anchor.diff:  								      "search paths: \n~p\n",
   								      [SearchPaths]),
   							    ClientFiles = refac_util:get_client_files(FileName, SearchPaths),
  -							    Results = rename_fun_in_client_modules(ClientFiles, {Mod, Fun, Arity}, NewName, SearchPaths),
  -							    case Editor of 
  -								emacs ->
  -								    refac_util:write_refactored_files([{{FileName, FileName}, AnnAST1} | Results]),
  -								    ChangedClientFiles = lists:map(fun ({{F, _F}, _AST}) -> F end, Results),
  -								    ChangedFiles = [FileName | ChangedClientFiles],
  -								    ?wrangler_io("The following files have been changed "
  -									      "by this refactoring:\n~p\n",
  -									      [ChangedFiles]),
  -								    {ok, ChangedFiles};
  -								eclipse ->
  -								    Results1 = [{{FileName, FileName}, AnnAST1} | Results],
  -								    Res = lists:map(fun({{FName, NewFName}, AST}) -> {FName, NewFName, refac_prettypr:print_ast(AST)} end, Results1),
  -								    {ok, Res}
  -							    end;
  +							    try rename_fun_in_client_modules(ClientFiles, {Mod, Fun, Arity}, NewName, SearchPaths) of 
  +								Results -> 
  +								    case Editor of 
  +									emacs ->
  +									    refac_util:write_refactored_files([{{FileName, FileName}, AnnAST1} | Results]),
  +									    ChangedClientFiles = lists:map(fun ({{F, _F}, _AST}) -> F end, Results),
  +									    ChangedFiles = [FileName | ChangedClientFiles],
  +									    ?wrangler_io("The following files have been changed "
  +											 "by this refactoring:\n~p\n",
  +											 [ChangedFiles]),
  +									    {ok, ChangedFiles};
  +									eclipse ->
  +									    Results1 = [{{FileName, FileName}, AnnAST1} | Results],
  +									    Res = lists:map(fun({{FName, NewFName}, AST}) -> {FName, NewFName, 
  +															      refac_prettypr:print_ast(AST)} end, Results1),
  +									    {ok, Res}
  +								    end
  +								catch 
  +								    throw:Err -> Err
  +								end;
   							false ->
   							    case Editor of 
   								emacs ->
  
positive.code: 		 lists:member({OldName, Arity}, Inscope_Funs)
  	      of
  	    true ->
  		erlang:exit("The new function name causes confliction "
  			    "in client module: "
  			      ++ atom_to_list(ClientModName));
  	    false ->
  		refac_util:stop_tdTP(fun do_rename_fun_in_client_module_1/2, Tree,
  				     {{M, OldName, Arity}, NewName})
  
negative.code:       _ -> erlang:error(badarg)
      end.
  
  