---
title: "Discussion on \"Exception handling in C# - throw or throw ex\" | Hashnode"
description: "Discussion on \"Exception handling in C# - throw or throw ex\". What are Exceptions?\nAn exception is a runtime error in a program that violates a system or application constraint, or a condition that is not expected to occur during the normal execution of the program. \nExceptions occur due to bad user input or ba..."
url: "https://hashnode.com/posts/exception-handling-in-csharp-throw-or-throw-ex/6034b00ea6daa8700f0d433f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Exception handling in C# - throw or throw ex](https://kumarashwinhubert.com/exception-handling-in-csharp-throw-or-throw-ex?utm_source=hashnode&utm_medium=feed)

What are Exceptions? An exception is a runtime error in a program that violates a system or application constraint, or a condition that is not expected to occur during the normal execution of the program. Exceptions occur due to bad user input or ba...

Feb 23, 2021 · 7 min read · kumarashwinhubert.com  
Updated Feb 28, 2021  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#best-practices](https://hashnode.com/tag/best-practices)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[Kumar Ashwin Hubert](https://hashnode.com/@kumar-ashwin-hubert)

@kumar-ashwin-hubert · India

  
[View profile](https://hashnode.com/@kumar-ashwin-hubert)

I'm a software consultant who loves to build projects and share my learnings on this blog.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
