SPL provides a set of standard Exceptions.
See also the Predefined Exceptions.
SPL Exceptions Class Tree
-
LogicException (extends Exception)
-
BadFunctionCallException
- DomainException
- InvalidArgumentException
- LengthException
- OutOfRangeException
-
RuntimeException (extends Exception)
- OutOfBoundsException
- OverflowException
- RangeException
- UnderflowException
- UnexpectedValueException