WarningException.cs 972 B

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