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.

EventExceptions.cs 984B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. }