This is the mail archive of the mauve-discuss@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 600+ BigDecimal tests


> Stephen Crawley wrote:
> 
> > BTW.  Has this question been debated / decided in the past?  The reason
> > I ask is that application code may rely on exception message strings to 
> > discriminate exception cases.  IMO, this is a BAD THING (tm), but in some
> > cases, the application programmer may have little choice.
> 
> This is doomed to failure from very start. Exception strings generated 
> by system should be localized (so they can be shown to user in worst 
> case). So there is no way to write language-portable program which looks 
> at details of exception messages.

True ... but this doesn't stop programmers doing this kind of thing out of
ignorance or desperation.  Still, I'm convinced that there is little value
in busting a gut to get identical exception messages.

-- Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]