com.dukascopy.api.system
Interface IStrategyExceptionHandler


public interface IStrategyExceptionHandler

Exception handler that is called when one of the strategy methods throws exception


Nested Class Summary
static class IStrategyExceptionHandler.Source
           
 
Method Summary
 void onException(long strategyId, IStrategyExceptionHandler.Source source, Throwable t)
          Called when one of the strategy methods throws exception
 

Method Detail

onException

void onException(long strategyId,
                 IStrategyExceptionHandler.Source source,
                 Throwable t)
Called when one of the strategy methods throws exception

Parameters:
strategyId - id of the stategy
source - method that threw the exception
t - exception


Copyright © 2011. All Rights Reserved.