---
title: "Why is it a bad idea to throw your own exceptions?"  
description: "Why is it a bad idea to throw your own exceptions?"  
author: "James Smith"  
published: 2011-07-01  
updated: 2020-09-18  
canonical: https://www.mindstick.com/interview/1072/why-is-it-a-bad-idea-to-throw-your-own-exceptions  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# Why is it a bad idea to throw your own exceptions?

Well, if at that point you know that an error has occurred, then why not write the proper code to handle that error instead of passing a new Exception object to the catch block? Throwing your own exceptions signifies some design flaws in the project.

## Answers

### Answer by James Smith

Well, if at that point you know that an error has occurred, then why not write the proper code to handle that error instead of passing a new Exception object to the catch block? Throwing your own exceptions signifies some design flaws in the project.


---

Original Source: https://www.mindstick.com/interview/1072/why-is-it-a-bad-idea-to-throw-your-own-exceptions

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
