Package 

Interface FailureCallback

  • All Implemented Interfaces:

    
    public interface FailureCallback<E extends Throwable>
    
                        

    Convenience API to be notified when an asynchronous task failed.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onFailure(E error) Called with an error when the task failed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onFailure

         abstract Unit onFailure(E error)

        Called with an error when the task failed.

        Parameters:
        error - the error that caused the failure