YoVDO

Error Handling in C# with Exceptions

Offered By: Pluralsight

Tags

C# Courses Automated testing Courses

Course Description

Overview

This course will teach you how to handle errors in C# applications by throwing, catching, filtering, and customizing exceptions.

At the core of handling errors in C# code is a thorough knowledge of exception handling. In this course, Error Handling in C# with Exceptions, you’ll 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.

Topics:
  • Course Overview
  • Understanding the Importance of Error Handling
  • Understanding the Exception Class Hierarchy
  • Getting Started with Exceptions
  • Catching, Throwing, and Rethrowing Exceptions
  • Creating and Using Custom Exceptions
  • Writing Automated Tests for Exception Throwing Code

Taught by

Jason Roberts

Related Courses

Beginning Game Programming with C#
University of Colorado System via Coursera
Programming with C#
Microsoft via edX
DEV206.1x: Introduction to XAML and Application Development
Microsoft via edX
Introduction to Game Development
Michigan State University via Coursera
Designing Advanced Applications using XAML
Microsoft via edX