Excepciones
SPL provee un conjunto de Excepciones estándar.
Árbol de Clases de Excepciones de SPL
LogicException (extends Exception)
BadFunctionCallException
BadMethodCallException
DomainException
InvalidArgumentException
LengthException
OutOfRangeException
RuntimeException (extends 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;