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.

72 lines
1.3KB

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