[jdom-interest] NoSuch*Exceptions in JDOM

Petri Wessman orava at termiitti.akumiitti.fi
Mon Jul 10 00:48:34 PDT 2000


On Sun, 09 Jul 2000 12:55:49 -0700, Jason Hunter <jhunter at acm.org> said:

>> Unfortunately, Messrs. McLaughlin and Hunter seem to prefer a frenzy of
>> exceptions.

Jason> I'm still flexible.  But let me say, I'm not swayed by the
Jason> "ivory tower" question of "is this exceptional or not"

Beside the "is it good design" argument, you should take into account
the fact that throwing and catching exceptions carries a heavy
performance penalty in Java. There is a good, practical reason for
avoiding exceptions in the normal flow of a program.

//Petri



More information about the jdom-interest mailing list