onException method

Syntax
void ianywhere.qanywhere.client.QAMessageListener.onException(
  QAException exception,
  QAMessage message
)
Parameters
  • exception   The exception that occurred.

  • message   If the exception occurred after the message was passed to onMessage(QAMessage), the message that was processed. Otherwise, null.

Remarks

This method is called whenever an exception occurs while listening for messages.

Note that this method cannot be used to automatically close the QAManagerBase instance, as the QAManagerBase.close() method blocks until all message listeners are finished processing.

See Also

Interface QAManagerBase

close method