on(e) {  
    alert('Exception: '+e.info);
});
</code></pre>
<h4>onConnected</h4>
<p>Event fired whenever module connects.</p>
<p>Example:</p>
<pre><code>ORTC.addEventListener('onConnected', function(e) {
    alert('Connected');
});
</code></pre>
<h4>onDisconnected</h4>
<p>Event fired whenever module disconnects.</p>
<p>Example:</p>
<pre><code>ORTC.addEventListener('onDisconnected', function(e) {
    alert('Disconnected');
});
</code></pre>
<h4>onReconnected</h4>
<p>Event fired whenever module reconnects.</