rfc:spl-improvements:exceptions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:spl-improvements:exceptions [2013/10/17 16:07] – Significant updates. levimrfc:spl-improvements:exceptions [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 26: Line 26:
     * FullException extends StateException     * FullException extends StateException
  
-This provides a general state exception for users to use (this has been requested). It additionally provides the semantic meaning of the current OverflowException and UnderflowException. We would then have OverflowException be an alias of FullException and UnderflowException be an alias of EmptyException.+This provides a general state exception for users to use (this has been requested). It additionally provides the semantic meaning of the current OverflowException and UnderflowException. We would then have OverflowException be an alias of FullException and UnderflowException be an alias of EmptyException. We may consider deprecating Overflow and Underflow exceptions. These measures are fully BC (unless there are bugs with aliases and exceptions, but simple tests I conducted showed expected behavior). 
 + 
 +===== Patches ===== 
 + 
 +A WIP for the state exceptions: https://github.com/morrisonlevi/php-src/tree/StateExceptions
rfc/spl-improvements/exceptions.1382026032.txt.gz · Last modified: 2017/09/22 13:28 (external edit)