commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <>
Subject Re: [digester] using digester's exceptions
Date Tue, 11 Mar 2003 22:52:57 GMT
On Tuesday, March 11, 2003, at 10:11 PM, Erik Price wrote:

> robert burrell donkin wrote:
>> hi erik
>> my short answer is: digester is open source - use it any way you want!
>> my longer answer is: i can't think of any major issues that you'll have 
>> using XmlLoadException in that way. if you want to follow sun's javadoc 
>> guidelines you might want to add a @throws tag.
> Thanks Robert.  My concern arose from the fact that, when I investigated 
> the classes that extend java.lang.Exception, there are a ton of 
> CORBA-specific or JNDI-specific (etc) Exceptions and I wondered if we're 
> all supposed to make custom exceptions like this all the time.

this is a concern - but i didn't really want to get into the issue of the 
'right' exception handling strategy. there are different schools of 
thought about the right way to do exception handling. IMHO this issue can 
get a little religious.

- robert

View raw message