Error Handling Examples(C#)

added by DotNetBlocks
4/17/2012 7:51:54 PM

-1 Kicks, 74 Views

The absence of error handling is still a form of error handling. Based on the code in Figure 1, if an error occurred and was not handled within either the ReadXml or BuildRequest methods the error would bubble up to the Search method. Since this method does not handle any acceptations the error will then bubble up the stack trace.


0 comments