Join Gerry O'Brien for an in-depth discussion in this video Understanding exception flow, part of Learning C# (2014).
Within the .NET framework's structured exception handling flow,…we have to understand how exceptions get handled…within the application, either when structured exception handling…code exist or doesn't exist in the application.…When an exception is generated, we refer to it as being thrown.…So, the .NET frame work will throw exceptions…back to our code when it encounters one.…We can intercept those exceptions and handle them.…We can also re-throw those exceptions and pass them back up the stack if we decide…that we don't want to handle them or maybe…there's structured exception handling earlier on in the code.…
The framework first checks to see if the exception…is caught in the routine in which it was generated.…And it checks to see if there's a handling mechanism for it.…And if so, then it relies on that…exception handling code to deal with the error itself.…If it doesn't find exception handling in that routine, it will pass…that information up the call stack, until it finds an exception handling routine.…
- Installing C#
- Working with loops
- Controlling program flow
- Using variables
- Building functions
- Creating and instantiating classes
- Catching errors
- Managing resources with the garbage collector
- Building collections
Skill Level Beginner
1. Introducing C#
2. C# Language Elements
3. Object-Oriented Programming in C#
4. Structured Exception Handling
5. Resource Management in C#
6. Extensible Types in C#
7. Windows Apps in C#
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.