Ajitvermaa / yahoo-finance-managed

Automatically exported from code.google.com/p/yahoo-finance-managed
0 stars 0 forks source link

ISIN.cs #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Maas,
is it possible to you to avoid this line:

        public ISIN(string isinWithOrWithoutCheckDigit)
        {
            if (!IsValidFormatted(isinWithOrWithoutCheckDigit))
            {
                throw new ArgumentException("The ISIN value is not valid formatted.", "isinWithOrWithoutCheckDigit"); // <--
            }

infact in the IDSearchDownload will throw an exception, and you wont have 
results ...

Angel

Original issue reported on code.google.com by i...@advancedcomputing.ch on 23 Mar 2012 at 10:45

GoogleCodeExporter commented 8 years ago
This part (in ISIN) is necessary, because the ISIN should be valid. I added a 
Try-Catch in IDSearchDownload.

Maas

Original comment by Maas...@gmail.com on 5 Apr 2012 at 3:14