[seam-dev] DWG Meeting minutes

Shane Bryzak sbryzak at redhat.com
Wed Sep 7 02:21:59 EDT 2011



On 07/09/11 16:10, Max Rydahl Andersen wrote:
>> 1) Standardised error codes
>>
>> We discussed the idea of implementing standard error codes throughout
>> all Seam modules.  These error codes would be unique, and allow Seam
>> developers to reference a central database (such as Seam University)
>> describing each error and possible workarounds.  The error codes
>> themselves will be prefixed with a 2 or 3 letter code (that represents
>> the module), followed by a number.  For example:
>>
>> [SEC-1234] Invalid credentials supplied
>>
>> The SEC prefix represents an exception in the Seam Security module.
>> Other modules would have different codes, for example CAT = Seam Catch,
>> VAL = Seam Validation, SVL = Seam Servlet, and so forth.  The number
>> part of the error code will start at 0000 for each module.  The error
>> message itself should support internationalisation, which will be a
>> bonus to our non-english speaking users.  Each module will define its
>> own internationalised message resources.  Ken is going to work on
>> creating a new API in Solder which we can use to perform the logging of
>> these errors.
> How does this relate to http://community.jboss.org/wiki/HowToLogInJBossProjects ?
>
> I assume this is just the same and you'll need to go grab those prefixes ?
>
> btw. what is DWG ? :)
>
> /max
> http://about.me/maxandersen
>
>
>

Hmm, I wasn't aware of that document.  I guess that we register SM as 
the Seam Event ID prefix, and then append the module code onto that.  So 
SMSEC for Seam Security, SMSLD for Solder, etc.


More information about the seam-dev mailing list