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

t EasyThread
the thread
callback T
the callback that triggered the exception
error Throwable
the exception that occurred