截流自动化的商城平台
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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <?php
  2. /**
  3. * This file is part of the Nette Framework (https://nette.org)
  4. * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
  5. */
  6. declare(strict_types=1);
  7. namespace Nette;
  8. /**
  9. * The exception that is thrown when the value of an argument is
  10. * outside the allowable range of values as defined by the invoked method.
  11. */
  12. class ArgumentOutOfRangeException extends \InvalidArgumentException
  13. {
  14. }
  15. /**
  16. * The exception that is thrown when a method call is invalid for the object's
  17. * current state, method has been invoked at an illegal or inappropriate time.
  18. */
  19. class InvalidStateException extends \RuntimeException
  20. {
  21. }
  22. /**
  23. * The exception that is thrown when a requested method or operation is not implemented.
  24. */
  25. class NotImplementedException extends \LogicException
  26. {
  27. }
  28. /**
  29. * The exception that is thrown when an invoked method is not supported. For scenarios where
  30. * it is sometimes possible to perform the requested operation, see InvalidStateException.
  31. */
  32. class NotSupportedException extends \LogicException
  33. {
  34. }
  35. /**
  36. * The exception that is thrown when a requested method or operation is deprecated.
  37. */
  38. class DeprecatedException extends NotSupportedException
  39. {
  40. }
  41. /**
  42. * The exception that is thrown when accessing a class member (property or method) fails.
  43. */
  44. class MemberAccessException extends \Error
  45. {
  46. }
  47. /**
  48. * The exception that is thrown when an I/O error occurs.
  49. */
  50. class IOException extends \RuntimeException
  51. {
  52. }
  53. /**
  54. * The exception that is thrown when accessing a file that does not exist on disk.
  55. */
  56. class FileNotFoundException extends IOException
  57. {
  58. }
  59. /**
  60. * The exception that is thrown when part of a file or directory cannot be found.
  61. */
  62. class DirectoryNotFoundException extends IOException
  63. {
  64. }
  65. /**
  66. * The exception that is thrown when an argument does not match with the expected value.
  67. */
  68. class InvalidArgumentException extends \InvalidArgumentException
  69. {
  70. }
  71. /**
  72. * The exception that is thrown when an illegal index was requested.
  73. */
  74. class OutOfRangeException extends \OutOfRangeException
  75. {
  76. }
  77. /**
  78. * The exception that is thrown when a value (typically returned by function) does not match with the expected value.
  79. */
  80. class UnexpectedValueException extends \UnexpectedValueException
  81. {
  82. }