parameters: (self, bytes_to_write)
docstring: Writes given bytes to connection. In case we catch any exception,
          prepends remote address to the exception message and raise again.
docstring_summary: Writes given bytes to connection. In case we catch any exception,
          prepends remote address to the exception message and raise again.
docstring_tokens: Writes given bytes to connection . In case we catch any exception prepends remote address to the exception message and raise again .
function: def _write(self, bytes_to_write):
          """Writes given bytes to connection. In case we catch any exception,
          prepends remote address to the exception message and raise again.
          """
  
          try:
              self._request.connection.write(bytes_to_write)
          except Exception, e:
              util.prepend_message_to_exception(
                      'Failed to send message to %r: ' %
                              (self._request.connection.remote_addr,),
                      e)
              raise
function_tokens: def _write ( self , bytes_to_write ) : try : self . _request . connection . write ( bytes_to_write ) except Exception , e : util . prepend_message_to_exception ( 'Failed to send message to %r: ' % ( self . _request . connection . remote_addr , ) , e ) raise