APIDesignPatterns:Exceptions
From APIDesign
TBD: just being created as a response to query by Casper Bang:
I was curious as to know how come, in a book strictly about API design in Java, you do not mention exceptions (particular checked exceptions) and the role they play in documenting assertions vs. hampering versionability. Did you simply think this to be too controversial an issue I wonder?
--Casper Bang 05:17, 5 September 2008 (CEST)
Contents |
Nothing special
TBD: show less
Runtime vs. Checked
TBD: Common flamewar
My Single Exception
TBD: BuildException, maven, I/O
Deciding on Importance
TBD: NetBeans' ErrorManager and Exceptions classes.
Extensibility
TBD: Subclassing. Compare with switch/case