Code example for FutureCallback

Methods: onFailure

0
        origin.onSuccess(result);
    } 
 
    @Override 
    public void onFailure(Throwable t) {
        origin.onFailure(t);
    } 
 
    public V attachement() { 
        return attachment;
    } 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java