---
title: "How to re-throw an exception correctly"
url: "https://osherove.com/blog/2004/4/13/how-to-re-throw-an-exception-correctly.md"
canonical: "https://osherove.com/blog/2004/4/13/how-to-re-throw-an-exception-correctly.html"
published: "2004-04-13T14:15:00"
updated: "2004-04-13T14:15:00"
tags: [".Net Quotations"]
author: "Roy Osherove"
description: "A smart tip on throwing exceptions by Brad . (via Scott )"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# How to re-throw an exception correctly

By Roy Osherove April 13, 2004 In [.Net Quotations](https://osherove.com/blog/category/net-quotations)

**Historical article** · Originally published April 13, 2004; technical details may be outdated.

<table><tbody><tr><td><em>A smart tip on </em><a href="http://dotnetguy.techieswithcats.com/archives/004118.shtml"><em>throwing exceptions</em></a><em> by </em><a href="http://dotnetguy.techieswithcats.com/"><em>Brad</em></a><em>.<img alt="" decoding="async" height="1" loading="lazy" src="https://osherove.com/img/wb/0e6f685a_scottwater.com_blog_aggbug_11779.aspx" width="1"></em></td></tr></tbody></table>

(via [Scott](http://scottwater.com/blog/archive/2004/04/12/11779.aspx))

## More in .Net Quotations

[All posts in .Net Quotations](https://osherove.com/blog/category/net-quotations)

- Apr 14, 2004

    ### [Code Readability and double negation - not uninteresting!](https://osherove.com/blog/2004/4/14/code-readability-and-double-negation-not-uninteresting.html)

- Apr 14, 2004

    ### [A UI Singleton?](https://osherove.com/blog/2004/4/14/a-ui-singleton.html)

- Apr 13, 2004

    ### [Test Driven Development with Microsoft .NET - seems to be a good one](https://osherove.com/blog/2004/4/13/test-driven-development-with-microsoft-net-seems-to-be-a-goo.html)

- Apr 13, 2004

    ### [Code DOM articles galore](https://osherove.com/blog/2004/4/13/code-dom-articles-galore.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
