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