Source for file exceptions.php
Documentation is available at exceptions.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 11: */
- 13: // no namespace
- 17: /*
- 18: some useful SPL exception:
- 20: - LogicException
- 21: - InvalidArgumentException
- 22: - LengthException
- 23: - RuntimeException
- 24: - OutOfBoundsException
- 25: - UnexpectedValueException
- 27: other SPL exceptions are ambiguous; do not use them
- 29: ErrorException is corrupted in PHP < 5.3
- 30: */
- 34: /**
- 35: * The exception that is thrown when the value of an argument is
- 36: * outside the allowable range of values as defined by the invoked method.
- 38: */
- 40: {
- 41: }
- 45: /**
- 46: * The exception that is thrown when a method call is invalid for the object's
- 47: * current state, method has been invoked at an illegal or inappropriate time.
- 49: */
- 51: {
- 54: {
- 60: }
- 61: }
- 63: }
- 67: /**
- 68: * The exception that is thrown when a requested method or operation is not implemented.
- 70: */
- 72: {
- 73: }
- 77: /**
- 78: * The exception that is thrown when an invoked method is not supported. For scenarios where
- 79: * it is sometimes possible to perform the requested operation, see InvalidStateException.
- 81: */
- 83: {
- 84: }
- 88: /**
- 89: * The exception that is thrown when a requested method or operation is deprecated.
- 91: */
- 93: {
- 94: }
- 98: /**
- 99: * The exception that is thrown when accessing a class member (property or method) fails.
- 101: */
- 103: {
- 104: }
- 108: /**
- 109: * The exception that is thrown when an I/O error occurs.
- 111: */
- 113: {
- 114: }
- 118: /**
- 119: * The exception that is thrown when accessing a file that does not exist on disk.
- 121: */
- 123: {
- 124: }
- 128: /**
- 129: * The exception that is thrown when part of a file or directory cannot be found.
- 131: */
- 133: {
- 134: }
- 138: /**
- 139: * The exception that indicates errors that can not be recovered from. Execution of
- 140: * the script should be halted.
- 142: */
- 144: {
- 150: {
- 157: }
- 162: {
- 164: }
- 167: }