Interface FailureCallback

  • All Implemented Interfaces:

    
    public interface FailureCallback
    
                        

    Defines the contract for failure callbacks that accept the result of a Deferred.

    • 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(Exception e) Called when the Deferred fails to complete.
      • 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(Exception e)

        Called when the Deferred fails to complete.

        Parameters:
        e - the exception that triggered the failure.