maandag, december 11, 2006

 

VS 2005 BUG - Exception thrown at wrong place

Had weird thing in VS, when running my app, i ran into the coded exception throwers. No prob you would say but the thing is that it gets caught one 'throw' later. So i was confused. Well now u know it too :-)

case VivensBase.enSqlDbType.TByteArray_Tbinary_Size:
throw new Exception("The type is not implemented.");
break;
case VivensBase.enSqlDbType.TByteArray_TvarBinaryMax:
throw new Exception("The type is not implemented.");
break;
case VivensBase.enSqlDbType.TByteArray_TvarBinary_Size:
throw new Exception("The type is not implemented.");
break;