Source for file exceptions.php
Documentation is available at exceptions.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 6: * Copyright (c) 2004, 2009 David Grudl (http://davidgrudl.com)
- 7: *
- 8: * This source file is subject to the "Nette license" that is bundled
- 9: * with this package in the file license.txt.
- 10: *
- 11: * For more information please see https://nette.org
- 12: *
- 19: */
- 21: // no namespace
- 25: /*
- 26: some useful SPL exception:
- 28: - LogicException
- 29: - InvalidArgumentException
- 30: - LengthException
- 31: - RuntimeException
- 32: - OutOfBoundsException
- 33: - UnexpectedValueException
- 35: other SPL exceptions are ambiguous; do not use them
- 37: ErrorException is corrupted in PHP < 5.3
- 38: */
- 42: /**
- 43: * The exception that is thrown when the value of an argument is
- 44: * outside the allowable range of values as defined by the invoked method.
- 46: */
- 48: {
- 49: }
- 53: /**
- 54: * The exception that is thrown when a method call is invalid for the object's
- 55: * current state, method has been invoked at an illegal or inappropriate time.
- 57: */
- 59: {
- 62: {
- 68: }
- 69: }
- 71: }
- 75: /**
- 76: * The exception that is thrown when a requested method or operation is not implemented.
- 78: */
- 80: {
- 81: }
- 85: /**
- 86: * The exception that is thrown when an invoked method is not supported. For scenarios where
- 87: * it is sometimes possible to perform the requested operation, see InvalidStateException.
- 89: */
- 91: {
- 92: }
- 96: /**
- 97: * The exception that is thrown when a requested method or operation is deprecated.
- 99: */
- 101: {
- 102: }
- 106: /**
- 107: * The exception that is thrown when accessing a class member (property or method) fails.
- 109: */
- 111: {
- 112: }
- 116: /**
- 117: * The exception that is thrown when an I/O error occurs.
- 119: */
- 121: {
- 122: }
- 126: /**
- 127: * The exception that is thrown when accessing a file that does not exist on disk.
- 129: */
- 131: {
- 132: }
- 136: /**
- 137: * The exception that is thrown when part of a file or directory cannot be found.
- 139: */
- 141: {
- 142: }
- 146: /**
- 147: * The exception that indicates errors that can not be recovered from. Execution of
- 148: * the script should be halted.
- 150: */
- 152: {
- 158: {
- 165: }
- 170: {
- 172: }
- 175: }