| Author |
Message |
MattE303
Joined: 01 Jun 2010 Posts: 1
|
Posted: Tue Jun 01, 2010 7:25 pm Post subject: Don't understand results |
|
|
I've just started playing with Exception Hunter as part of an evaluation and I'm confused by the following result. EH appears to be telling me that System.Exception (and everything derived from it) is unhandled in the following block of code (it lists System.Exception and its derivations in the "Unhandled Exceptions" panel). Specifically, it is highlighting the line that calls the LINQ method FirstOrDefault. I'm confused because clearly that isn't the case (System.Exception is being handled).
| Code: |
try
{
views = ProcedureViews.procedureViewsList.FirstOrDefault( v => v.ProcedureId == procedure.Identifier );
if( views != null )
{
// already exists, move it to the top of the list
ProcedureViews.procedureViewsList.Remove( views );
ProcedureViews.procedureViewsList.Insert( 0, views );
found = true;
}
}
catch( System.Exception ) {}
|
|
|
| Back to top |
|
 |
slaphead99
Joined: 10 Mar 2010 Posts: 93
|
Posted: Wed Jun 02, 2010 2:49 pm Post subject: |
|
|
| Sorry, looks like a bug has slipped through. I'll check this out myself and file a report. Thank you! |
|
| Back to top |
|
 |
slaphead99
Joined: 10 Mar 2010 Posts: 93
|
Posted: Wed Jun 09, 2010 4:39 pm Post subject: |
|
|
This has been logged as: CE-309
We have a major release coming out this year. Watch this spaaaaacee!  |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group