WarningException.cs 817 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // System.ComponentModel.WarningException.cs
  3. //
  4. // Author:
  5. // Asier Llano Palacios ([email protected])
  6. //
  7. using System;
  8. namespace System.ComponentModel {
  9. public class WarningException : SystemException
  10. {
  11. private string helpUrl;
  12. private string helpTopic;
  13. public WarningException( string message )
  14. : base( message ) {
  15. helpUrl = null;
  16. helpTopic = null;
  17. }
  18. public WarningException( string message, string helpUrl )
  19. : base( message ) {
  20. this.helpUrl = helpUrl;
  21. this.helpTopic = null;
  22. }
  23. public WarningException( string message, string helpUrl, string helpTopic ) {
  24. this.helpUrl = helpUrl;
  25. this.helpTopic = helpTopic;
  26. }
  27. public string HelpTopic {
  28. get {
  29. return helpTopic;
  30. }
  31. }
  32. public string HelpUrl {
  33. get {
  34. return helpUrl;
  35. }
  36. }
  37. }
  38. }