kalldrexx
15 years agoContributor
C# API shouldn't throw generic Exceptions
I would *really* appreciate it if the C# API for test complete did not throw generic Exceptions all the time. It makes it really hard to figure out at run-time why an exception happened and handle it correctly, and thus I don't even know if TC is the cause of the exception or if .Net threw the exception.
It would be really good if it threw custom exception types (like all .net software should). Hell I would even take throwing an InvalidOperationException. Right now it's just ridiculous.
It would be really good if it threw custom exception types (like all .net software should). Hell I would even take throwing an InvalidOperationException. Right now it's just ridiculous.