chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: Minor Exception Typo in DotCMIS 0.5
Date Wed, 27 Mar 2013 11:49:06 GMT
 Hi Robert,

 Thanks for the hint! I've corrected the exception message.


 Thanks,

 Florian


> Hello,
>
> I am not sure of the proper way to report this, but there is a minor 
> cut
> and paste error in data-impl.cs in the DotCMIS source 0.5.
>
> case PropertyType.Integer:
>       if (!(value is sbyte || value is byte || value is short || 
> value is
 ushort || value is int || value is uint || value is long))
>       {
>          throw new ArgumentException("Property '" + Id + "' is an Id
 property!");
>        }
>    break;
>
> It should have the following line:
>
>  throw new ArgumentException("Property '" + Id + "' is an Integer
 property!");
>
> Thanks,
> Robert


Mime
View raw message