public interface EasyThread.ErrorListener<T>
Callback listener for errors on easy thread
Methods
public abstract void onError(EasyThread t, T callback, Throwable error) | Invoked when an exception is thrown on an easy thread. |
Method details
onError
public abstract void onError(EasyThread t, T callback, Throwable error)Invoked when an exception is thrown on an easy thread. Notice
this callback occurs within the thread and not on the EDT. This
method blocks the current easy thread until it completes.
Parameters
tEasyThread- the thread
callbackT- the callback that triggered the exception
errorThrowable- the exception that occurred