exceptions.php
1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?php
/**
* This file is part of the Nette Framework (https://nette.org)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare(strict_types=1);
namespace Nette;
/**
* The value is outside the allowed range.
*/
class ArgumentOutOfRangeException extends \InvalidArgumentException
{
}
/**
* The object is in a state that does not allow the requested operation.
*/
class InvalidStateException extends \RuntimeException
{
}
/**
* The requested feature is not implemented.
*/
class NotImplementedException extends \LogicException
{
}
/**
* The requested operation is not supported.
*/
class NotSupportedException extends \LogicException
{
}
/**
* The requested feature is deprecated and no longer available.
*/
class DeprecatedException extends NotSupportedException
{
}
/**
* Cannot access the requested class property or method.
*/
class MemberAccessException extends \Error
{
}
/**
* Failed to read from or write to a file or stream.
*/
class IOException extends \RuntimeException
{
}
/**
* The requested file does not exist.
*/
class FileNotFoundException extends IOException
{
}
/**
* The requested directory does not exist.
*/
class DirectoryNotFoundException extends IOException
{
}
/**
* The provided argument has invalid type or format.
*/
class InvalidArgumentException extends \InvalidArgumentException
{
}
/**
* The requested array or collection index does not exist.
*/
class OutOfRangeException extends \OutOfRangeException
{
}
/**
* The returned value has unexpected type or format.
*/
class UnexpectedValueException extends \UnexpectedValueException
{
}
/**
* Houston, we have a problem.
*/
class ShouldNotHappenException extends \LogicException
{
}