geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cabrera, Alan" <>
Subject RE: [i18n] Hardcoded message strings
Date Mon, 25 Aug 2003 21:28:51 GMT

> -----Original Message-----
> From: Dain Sundstrom [] 
> On Monday, August 25, 2003, at 09:58 AM, Alex Blewitt wrote:
> > On Monday, Aug 25, 2003, at 15:25 Europe/London, gianny 
> DAMOUR wrote:
> >
> > authFailed=User %{0} cannot log in

> I think that the type of messages you have above are a very 
> small class 
> of user exceptions as opposed to system exceptions.  Most exceptions 
> are things generaic things like IllegalArgument, like IO failed, or 
> transaction would not commit for some strange reason.  These normal 
> type of exception are not user display able, as a normal user would 
> have no idea what it means and your normal sys admin can't do 
> anything 
> about.  On the other hand there are a certain class of 
> exceptions which 
> are user display able and you have some good examples above.  
> If we are 
> going to take the i18 path, I think we should first divide exceptions 
> into internal system exceptions and user displayable exceptions.

You have touched on a point that I brought up a while back.  Someone was
proposing that we switch locals on the fly to provide i18n messages that are
useful to the end user.  My response to that was that we are writing server
code and IMHO application writers are going to want to catch these nasty
exceptions, maybe save state, and print out a nicer message with an
explanation as to how to proceed; while it does have its place, none of this
has any business being in server software.  Also, anyone who has ever had to
deal w/ product managers when writing an application will know that they
will not like whatever nice message we on the Geronimo cook up; it's not in
a product manager's nature to be happy with the way that things are. ;)

My point is that we should focus on a single locale to provide i18n messages
for the developers that are writing applications on our server.  Let's keep
it simple.  I am very concerned by some of the Byzantine constructs, no
offence meant, that are being discussed.


      Visit our Internet site at 

Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit <> 

Any views expressed in this message are those of  the  individual sender,
except  where  the sender specifically states them to be the views of The
Reuters Group.

View raw message