Click here to Skip to main content
13,250,182 members (67,212 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


1 bookmarked
Posted 4 Jul 2011

Cloning an Exception (kinda sorta)

, 4 Jul 2011
Rate this:
Please Sign up or sign in to vote.
        public class MyException : Exception
            public MyException() { }
            public MyException(string message) : base(message) { }
            public MyException(string message, Exception inner) : base(message, inner) { }
            protected MyException(
              System.Runtime.Serialization.SerializationInfo info,
              System.Runtime.Serialization.StreamingContext context)
                : base(info, context) { }


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


About the Author

charles henington
United States United States
I do not claim to be wrong! I just rarely ever write.

You may also be interested in...

Comments and Discussions

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.171114.1 | Last Updated 5 Jul 2011
Article Copyright 2011 by charles henington
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid