1 vote
Better Exception Messages

Description

 
Hi,
When i load an object model, there where some exceptions like "The property X couldn't be found". It would be much more helpful when you see the location of the Variable (like: My.Namespace.MyClass.X).

Same for a NullReferenceException which is raised when i try to save. The message i got is something like: "The value must not be NULL. parameter name: key"
I think some value inside of the program which has to be saved is null. But with this message i have no idea where to start searching.

File Attachments


No files are attached


Comments

most recent at top (show oldest at top)
JeReT wrote Jul 29 at 6:55 PM
When calling objectSpace.Save();

DiegoHernanCanepa wrote Jul 29 at 5:28 PM
Hi,
I'll check the model exception.

The other "The value must not be NULL. parameter name: key" is thrown by the .NET Framework. When you get this error?


Updating...
Page view tracker