Proposal: Extensible exceptions
waldmann at imn.htwk-leipzig.de
Mon Jul 7 08:22:02 EDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
>> In Modula-3 you have to add the exceptions that can be raised to a
>> PROCEDURE header. Java has adopted this mechanism.
> Many people argue that this was a mistake [...]
well, i nthe first place, the application should not raise
exceptions that the API user can or should not know about.
if exceptions don't need to be declared, then this design error
(lack of abstraction) can go undetected, but that does not solve it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Libraries