Click here to Skip to main content
15,891,033 members
Articles / Programming Languages / C#

Cloning an Exception (kinda sorta)

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
9 Apr 2011CPOL 12.1K   3  
I would actually go the route getting those developers to follow good practice. As a whole, the field would be better off if developers like that were mentored rather than something like this.So, I would recommend using either of the techniques you put forth originally (using the Data...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
10 Apr 2011PIEBALDconsult 2 alternatives  
Using Reflection to instantiate an Exception of a given type
Please Sign up or sign in to vote.
4 Jul 2011charles henington
[Serializable]...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
United States United States
Since I've begun my profession as a software developer, I've learned one important fact - change is inevitable. Requirements change, code changes, and life changes.

So..If you're not moving forward, you're moving backwards.

Comments and Discussions