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 http://nettephp.com
- 12: *
- 18: */
- 20: // no namespace
- 24: /*
- 25: some useful SPL exception:
- 27: - LogicException
- 28: - InvalidArgumentException
- 29: - LengthException
- 30: - RuntimeException
- 31: - OutOfBoundsException
- 32: - UnexpectedValueException
- 34: other SPL exceptions are ambiguous; do not use them
- 36: ErrorException is corrupted in PHP < 5.3
- 37: */
- 41: /**
- 42: * The exception that is thrown when the value of an argument is
- 43: * outside the allowable range of values as defined by the invoked method.
- 45: */
- 47: {
- 48: }
- 52: /**
- 53: * The exception that is thrown when a method call is invalid for the object's
- 54: * current state, method has been invoked at an illegal or inappropriate time.
- 56: */
- 58: {
- 61: {
- 67: }
- 68: }
- 70: }
- 74: /**
- 75: * The exception that is thrown when a requested method or operation is not implemented.
- 77: */
- 79: {
- 80: }
- 84: /**
- 85: * The exception that is thrown when an invoked method is not supported. For scenarios where
- 86: * it is sometimes possible to perform the requested operation, see InvalidStateException.
- 88: */
- 90: {
- 91: }
- 95: /**
- 96: * The exception that is thrown when a requested method or operation is deprecated.
- 98: */
- 100: {
- 101: }
- 105: /**
- 106: * The exception that is thrown when accessing a class member (property or method) fails.
- 108: */
- 110: {
- 111: }
- 115: /**
- 116: * The exception that is thrown when an I/O error occurs.
- 118: */
- 120: {
- 121: }
- 125: /**
- 126: * The exception that is thrown when accessing a file that does not exist on disk.
- 128: */
- 130: {
- 131: }
- 135: /**
- 136: * The exception that is thrown when part of a file or directory cannot be found.
- 138: */
- 140: {
- 141: }
- 145: /**
- 146: * The exception that indicates errors that can not be recovered from. Execution of
- 147: * the script should be halted.
- 149: */
- 151: {
- 157: {
- 164: }
- 169: {
- 171: }
- 174: }