Details
Description
The CLI currently provides a mechanism, 'filter', so that it will only handle an exception if a condition holds:
For an example: http://dotnet.org.za/armand/archive/2005/11/09/48087.aspx and http://www.microsoft.com/mspress/books/sampchap/5771.aspx
proposed syntax:
except ex as SomeException if arg is not null: print "arg is not null, so I'll handle it"
except as SomeException if ItDidntWork(): print "It Didn't Work, but I'll handle it."
except unless boolArg:
print "boolArg was true, so I'll handle it."
A smaller, more succinct, and complete patch file for all linked exception issues.