Information Technology
Hands on Training icon
Hands On Training
Hands on Training icon

Error Handling in C# with Exceptions

Course Cover
compare button icon

Course Features

icon

Duration

97 minutes

icon

Delivery Method

Online

icon

Available on

Downloadable Courses

icon

Accessibility

Desktop, Laptop

icon

Language

English

icon

Subtitles

English

icon

Level

Intermediate

icon

Teaching Type

Self Paced

icon

Video Content

97 minutes

Course Description

A solid understanding of exception handling is essential for handling errors in C# code. This course, Error handling in C# with exceptions, will teach you how to create code that detects and responds to runtime errors. You'll first learn about the reasons exceptions are used in C# to represent errors and how they are organized within class hierarchies. Next, you will learn how to catch, filter and rethrow exceptions. You'll also learn how to create, throw, catch, filter, rethrow, and wrap your own custom exception classes. Finally, you will be able to write unit tests for exception-throwing code. This course will give you a solid understanding of C# exceptions, which will allow you to create production-ready C# apps that can detect and correct runtime errors.

Course Overview

projects-img

International Faculty

projects-img

Post Course Interactions

projects-img

Instructor-Moderated Discussions

projects-img

Case Studies, Captstone Projects

Skills You Will Gain

What You Will Learn

Learn how to write code that can detect and respond to runtime errors

First, you’ll learn why exceptions are used to represent errors in C# and how they are organized into class hierarchies

Next, you’ll explore how to throw, catch, filter, rethrow, and wrap exceptions

Finally, you’ll discover how to define, throw, and catch your own customized exception classes and also write unit tests for exception throwing code

When you’re finished with this course, you’ll have a thorough knowledge of C# exceptions that will help you to create production-ready C# applications that detect and respond to runtime errors

Course Instructors

Author Image

Jason Roberts

Instructor

With over 15 years of experience in both frontend and backend software development, Jason Roberts is a freelance developer, trainer, and author. He holds a Bachelor of Science degree in computing, is...
Course Cover