public void failure ( Throwable failure ) { try { lock . lock ( ) ; this . failure = failure ; notifyHaveResult ( ) ; } finally { lock . unlock ( ) ; } }
Notify about the failure occured during asynchronous operation execution .