jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guo Du <mrdu...@gmail.com>
Subject Re: [jr3] Exception Handling
Date Mon, 01 Mar 2010 10:32:29 GMT
On Mon, Mar 1, 2010 at 9:32 AM, Michael Dürig <michael.duerig@day.com> wrote:
> What about using something like a hash code (for example of the current
> stack trace) as error code? These would then automatically serve as hash

A good sample to deal with error messages:

For a given error message:
CLFWX0019E: PUT HTTP method is not supported for this URL.

It contain a prefix "CLFWX" tell which component is coming from, and
it end with "E" means error. (W=Warn, I= Info)

The rest of the error message are supposed to be translated to other
languages. So even for none English users, we can still tell what's
going wrong from the error code.


View raw message