flex.messaging.util.concurrent
Interface FailedExecutionHandler


public interface FailedExecutionHandler

This interface defines a callback that can be registered with an Executor to be notified when execution of a Runnable has failed.


Method Summary
 void failedExecution(Runnable command, Executor executor, Exception exception)
          Invoked when a Runnable has failed to execute.
 

Method Detail

failedExecution

void failedExecution(Runnable command,
                     Executor executor,
                     Exception exception)
Invoked when a Runnable has failed to execute. This is most commonly invoked when the Runnable can not be queued for execution, but may also be invoked if an uncaught Exception was thrown and the Executor implementation has support for catching this and notifying via this callback.

Parameters:
command - The Runnable command that failed to execute.
executor - The Executor that was unable to execute the command.
exception - The Exception identifying why the command failed to execute.


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/util/concurrent/FailedExecutionHandler.html