RFC #0205: All exceptions can be chained optionally

at 2011-02-26 in RFCs by friebe (0 comments)

Scope of Change
Existing functionality of the lang.ChainedException will be moved into the XP framework's base exception class lang.Throwable. As result, all exceptions can have an optional causing exception attached to them.

Rationale
Only when every exception can have a causing exception attached to it, one can easily make use of it in all circumstances. By now, when such funcionality is required, the exception class in question must be modified to inherit lang.ChainedException. Most of the time, it cannot be fore- seen whether this is required or not at the time of writing the exception class.

Read the full RFC here



Subscribe

You can subscribe to the XP framework's news by using RSS syndication.


Categories

News
General
PHP5
Announcements
RFCs
Further reading
Examples
Editorial
EASC
Experiments
Unittests
Databases
5.8-SERIES
Unicode
Language
5.9-SERIES

Related

Find related articles by a search for «RFC».