4
* This file is part of the Nette Framework (http://nette.org)
6
* Copyright (c) 2004 David Grudl (http://davidgrudl.com)
8
* For the full copyright and license information, please view
9
* the file license.txt that was distributed with this source code.
18
* The exception that is thrown when the value of an argument is
19
* outside the allowable range of values as defined by the invoked method.
21
class ArgumentOutOfRangeException extends \InvalidArgumentException
27
* The exception that is thrown when a method call is invalid for the object's
28
* current state, method has been invoked at an illegal or inappropriate time.
30
class InvalidStateException extends \RuntimeException
36
* The exception that is thrown when a requested method or operation is not implemented.
38
class NotImplementedException extends \LogicException
44
* The exception that is thrown when an invoked method is not supported. For scenarios where
45
* it is sometimes possible to perform the requested operation, see InvalidStateException.
47
class NotSupportedException extends \LogicException
53
* The exception that is thrown when a requested method or operation is deprecated.
55
class DeprecatedException extends NotSupportedException
61
* The exception that is thrown when accessing a class member (property or method) fails.
63
class MemberAccessException extends \LogicException
69
* The exception that is thrown when an I/O error occurs.
71
class IOException extends \RuntimeException
77
* The exception that is thrown when accessing a file that does not exist on disk.
79
class FileNotFoundException extends IOException
85
* The exception that is thrown when part of a file or directory cannot be found.
87
class DirectoryNotFoundException extends IOException
93
* The exception that is thrown when an argument does not match with the expected value.
95
class InvalidArgumentException extends \InvalidArgumentException
101
* The exception that is thrown when an illegal index was requested.
103
class OutOfRangeException extends \OutOfRangeException
109
* The exception that is thrown when a value (typically returned by function) does not match with the expected value.
111
class UnexpectedValueException extends \UnexpectedValueException
117
* The exception that is thrown when static class is instantiated.
119
class StaticClassException extends \LogicException
125
* The exception that indicates errors that can not be recovered from. Execution of
126
* the script should be halted.
128
class FatalErrorException extends \ErrorException
131
public function __construct($message, $code, $severity, $file, $line, $context, \Exception $previous = NULL)
133
parent::__construct($message, $code, $severity, $file, $line, $previous);
134
$this->context = $context;