lib/dataprotocol.js
function(exception){
		return protocol.implodeMessage(protocol.timestamp(), dataMethods.FAILURE,
			exceptions.GENERIC, protocol.encodeString(exception));
	}
function(exception){
		return protocol.implodeMessage(protocol.timestamp(), dataMethods.FAILURE,
			exceptions.GENERIC, protocol.encodeString(exception));
	}
function ( exception ) { return protocol . implodeMessage ( protocol . timestamp ( ) , dataMethods . FAILURE , exceptions . GENERIC , protocol . encodeString ( exception ) ) ; }
Encodes an failure message to be sent to the proxy.

@param {String} exception error message
@return {String} the encoded message
@private
Encodes an failure message to be sent to the proxy .