A stable modding interface between Techblox and mods https://mod.exmods.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.2KB

  1. using System;
  2. namespace GamecraftModdingAPI.Events
  3. {
  4. public class EventException : GamecraftModdingAPIException
  5. {
  6. public EventException()
  7. {
  8. }
  9. public EventException(string message) : base(message)
  10. {
  11. }
  12. public EventException(string message, Exception innerException) : base(message, innerException)
  13. {
  14. }
  15. }
  16. public class EventNotFoundException : EventException
  17. {
  18. public EventNotFoundException()
  19. {
  20. }
  21. public EventNotFoundException(string message) : base(message)
  22. {
  23. }
  24. }
  25. public class EventAlreadyExistsException : EventException
  26. {
  27. public EventAlreadyExistsException()
  28. {
  29. }
  30. public EventAlreadyExistsException(string message) : base(message)
  31. {
  32. }
  33. }
  34. public class EventRuntimeException : EventException
  35. {
  36. public EventRuntimeException()
  37. {
  38. }
  39. public EventRuntimeException(string message) : base(message)
  40. {
  41. }
  42. public EventRuntimeException(string message, Exception innerException) : base(message, innerException)
  43. {
  44. }
  45. }
  46. public class EventParameterMissingException : EventException
  47. {
  48. public EventParameterMissingException()
  49. {
  50. }
  51. public EventParameterMissingException(string message) : base(message)
  52. {
  53. }
  54. }
  55. }