Exception Handling in C#
Offered By: Pluralsight
Course Description
Overview
Understanding and using exceptions is vital if you want to create maintainable code that responds correctly to runtime errors. This course will teach you how to handle errors in C# applications by throwing, catching, and customizing exceptions.
Missing or incorrectly implemented error handling code can lead to data corruption, unnecessary crashes, annoyed end-users, out-of-hours support calls, and hard to maintain code. In this course, Exception Handling in C# 9, you’ll gain the ability to correctly handle runtime errors in your C# applications. First, you’ll explore what exceptions are and why we use them. Next, you’ll discover how to respond to errors that occur in your applications at runtime. Finally, you’ll learn how to throw exceptions in your own code and even how to define your own custom exception classes. When you’re finished with this course, you’ll have the skills and knowledge of C# exception handling needed to handle runtime errors in your C# applications.
Missing or incorrectly implemented error handling code can lead to data corruption, unnecessary crashes, annoyed end-users, out-of-hours support calls, and hard to maintain code. In this course, Exception Handling in C# 9, you’ll gain the ability to correctly handle runtime errors in your C# applications. First, you’ll explore what exceptions are and why we use them. Next, you’ll discover how to respond to errors that occur in your applications at runtime. Finally, you’ll learn how to throw exceptions in your own code and even how to define your own custom exception classes. When you’re finished with this course, you’ll have the skills and knowledge of C# exception handling needed to handle runtime errors in your C# applications.
Syllabus
- Course Overview 1min
- Understanding the Importance of Error Handling 10mins
- Understanding the Exception Class Hierarchy 13mins
- Getting Started with Exceptions 22mins
- Catching, Throwing, and Rethrowing Exceptions 22mins
- Creating and Using Custom Exceptions 20mins
- Writing Automated Tests for Exception Throwing Code 13mins
Taught by
Jason Roberts
Related Courses
بالتطبيق العملي C# تعلم أساسيات لغةCoursera Project Network via Coursera Amazon DynamoDB for Serverless Architectures (Traditional Chinese)
Amazon Web Services via AWS Skill Builder API Testing Using Rest Sharp (with C#) Test Automation Tool
Coursera Project Network via Coursera Basics of Scientific Visualization in Mathematical Modeling of Systems
National Research Nuclear University MEPhI via edX Build a Guessing Game in C# on Linux
Coursera Project Network via Coursera