Exceptions
SPL fournit un jeu d'exceptions standard.
Arbre de la classe SPL Exceptions
LogicException (étend la classe Exception)
BadFunctionCallException
BadMethodCallException
DomainException
InvalidArgumentException
LengthException
OutOfRangeException
RuntimeException (étend la classe Exception)
OutOfBoundsException
OverflowException
RangeException
UnderflowException
UnexpectedValueException
&reference.spl.badfunctioncallexception;
&reference.spl.badmethodcallexception;
&reference.spl.domainexception;
&reference.spl.invalidargumentexception;
&reference.spl.lengthexception;
&reference.spl.logicexception;
&reference.spl.outofboundsexception;
&reference.spl.outofrangeexception;
&reference.spl.overflowexception;
&reference.spl.rangeexception;
&reference.spl.runtimeexception;
&reference.spl.underflowexception;
&reference.spl.unexpectedvalueexception;