SystemException.cs 618 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // System.SystemException.cs
  3. //
  4. // Author:
  5. // Joe Shaw ([email protected])
  6. //
  7. // (C) 2001 Ximian, Inc. http://www.ximian.com
  8. //
  9. using System.Runtime.Serialization;
  10. namespace System {
  11. public class SystemException : Exception {
  12. // Constructors
  13. public SystemException ()
  14. : base ("A system exception has occurred.")
  15. {
  16. }
  17. public SystemException (string message)
  18. : base (message)
  19. {
  20. }
  21. protected SystemException(SerializationInfo info, StreamingContext context)
  22. : base (info, context) {
  23. }
  24. public SystemException (string message, Exception inner)
  25. : base (message, inner)
  26. {
  27. }
  28. }
  29. }