add: if (!this.isConnected) throw "Not Connected."; 
context: CBSConnection.prototype.sendData = function bs_send (str){    try    {        var rv = this._bsc.sendData (str);    }    catch (ex)    {        if (typeof ex != "undefined")        {            this.isConnected = false;            throw (ex);        }        else            var rv = false;    }    return rv;        }
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/20c17fc60903ecd3b816282ba580a96c2be8959f/connection-xpcom.js/clean/extensions/irc/js/lib/connection-xpcom.js