anchor.diff:                                                  % Make sure we got at least one defined
       case lists:all(fun(X) -> X =:= undefined end, ExceptionList) of
           true ->
  -            handle_unknown_exception(State, Function, Exception);
  +            handle_unknown_exception(State, Function, Exception, Seqid);
           false ->
  -            send_reply(State, Function, ?tMessageType_REPLY, {ReplySpec, ExceptionTuple})
  +            send_reply(State, Function, ?tMessageType_REPLY, {ReplySpec, ExceptionTuple}, Seqid)
       end.
   
   %%
   %% Called when an exception has been explicitly thrown by the service, but it was
   %% not one of the exceptions that was defined for the function.
   %%
  -handle_unknown_exception(State, Function, Exception) ->
  +handle_unknown_exception(State, Function, Exception, Seqid) ->
       handle_error(State, Function, {exception_not_declared_as_thrown,
  -                                   Exception}).
  +                                   Exception}, Seqid).
   
  -handle_error(State, Function, Error) ->
  +handle_error(State, Function, Error, Seqid) ->
       Stack = erlang:get_stacktrace(),
       error_logger:error_msg("~p had an error: ~p~n", [Function, {Error, Stack}]),
   
  
positive.code: 
  handle_exception(State = #thrift_processor{service = Service},
                   Function,
                   Exception) ->
      ExceptionType = element(1, Exception),
      %% Fetch a structure like {struct, [{-2, {struct, {Module, Type}}},
      %%                                  {-3, {struct, {Module, Type}}}]}
  
negative.code: handle_function(State0=#thrift_processor{protocol = Proto0,
                                           handler = Handler,
                                           service = Service},
                  Function,
                  Seqid) ->
      InParams = Service:function_info(Function, params_type),
  
      {Proto1, {ok, Params}} = thrift_protocol:read(Proto0, InParams),
  