CookieException.cs 787 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // System.Net.CookieException.cs
  3. //
  4. // Author:
  5. // Lawrence Pit ([email protected])
  6. //
  7. using System.Globalization;
  8. using System.Runtime.Serialization;
  9. namespace System.Net
  10. {
  11. [Serializable]
  12. public class CookieException : FormatException, ISerializable
  13. {
  14. // Constructors
  15. public CookieException () : base ()
  16. {
  17. }
  18. internal CookieException (string msg) : base (msg)
  19. {
  20. }
  21. internal CookieException (string msg, Exception e) : base (msg, e)
  22. {
  23. }
  24. protected CookieException (SerializationInfo info, StreamingContext context)
  25. : base (info, context)
  26. {
  27. }
  28. // Methods
  29. void ISerializable.GetObjectData (SerializationInfo info, StreamingContext context)
  30. {
  31. base.GetObjectData (info, context);
  32. }
  33. }
  34. }