The purge method can be called from both the disconnect message handler and from the connectionLost handler. If the disconnect happened normally then the connectionLost handler doesn't need to purge any more. Thus there is no need to throw an Exception.
The purge method can be called from both the disconnect message handler and from the connectionLost handler. If the disconnect happened normally then the connectionLost handler doesn't need to purge any more. Thus there is no need to throw an Exception.