Handling Business Object ArgumentExceptions


Author
Message
Rylster
Rylster
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: StrataFrame Users
Posts: 4, Visits: 30
Hi there,

When the expected field is not returned by a stored procedure the BO raises the ArgumentException error when debugging the code. However, there is no error message when running in the release mode.

I can place try{} catch(System.Argument Exception) {} code in each property of the BO.Designer.cs file that records the error to a log file or displays a message but this will be overwritten the next time the BO is built in the business object mapper.

What is the best way to handle these ArgumentException errors? I need to know if these errors are happening in a release version when the program is being used by the customer.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search