Click here to Skip to main content
Click here to Skip to main content
Alternative Tip/Trick

Tagged as

Cloning an Exception (kinda sorta)

, 4 Jul 2011 CPOL
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.

Comments and Discussions

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