[Quantproject-developers] QuantProject/b4_Business/a07_DataProviders HistoricalQuoteProvider.cs, 1.
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2008-02-27 22:14:10
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a07_DataProviders In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13000/a07_DataProviders Modified Files: HistoricalQuoteProvider.cs Log Message: A different exception is now thrown, when a quote is asked for a missing quote. The new exception's type is TickerNotExchangedException Index: HistoricalQuoteProvider.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a07_DataProviders/HistoricalQuoteProvider.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** HistoricalQuoteProvider.cs 10 Feb 2008 14:28:09 -0000 1.5 --- HistoricalQuoteProvider.cs 27 Feb 2008 22:14:05 -0000 1.6 *************** *** 84,90 **** } else ! throw new Exception( "The ticker " + ticker + " is not " + ! "exchanged at the following end of day date time: " + ! currentEndOfDayDateTime.ToString() ); } public EndOfDayHistory GetEndOfDayQuotes( string ticker , --- 84,89 ---- } else ! throw new TickerNotExchangedException( ! ticker , currentEndOfDayDateTime ); } public EndOfDayHistory GetEndOfDayQuotes( string ticker , |