HandlerExecutor.Listener


public interface HandlerExecutor.Listener


Listener for uncaught exceptions thrown during command execution.

Summary

Public methods

abstract void

Called when executing a Runnable throws an uncaught RuntimeException.

Public methods

onError

abstract void onError(RuntimeException exception)

Called when executing a Runnable throws an uncaught RuntimeException.

This callback is invoked on the Handler thread where the command ran.

Parameters
RuntimeException exception

The uncaught RuntimeException.