-1

How can I listen to error when running async actions? e.g "no connection" or error in query (if there is such a thing)

I am running the following:

  • create a connection
  • pause the program
  • disconnecting network cable
  • running asyncSearch

the search fails but I have no indication for it.

Zong
  • 6,160
  • 5
  • 32
  • 46
ozma
  • 1,633
  • 1
  • 20
  • 28

1 Answers1

0

Use one of the following classes:

  • AsyncCompareResultListener
  • AsyncResultListener
  • AsyncSearchResultListener
Terry Gardner
  • 10,957
  • 2
  • 28
  • 38