cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo Rivera <agalla...@agsoftware.dnsalias.com>
Subject How to parse an error
Date Sat, 31 Aug 2002 05:23:25 GMT
Hi,

What can use to parse the error strings to make it more suitable to my 
language.

I am building a Database web application and I need to parse the error to the 
user:

From (error:description):

org.apache.cocoon.ProcessingException: Could not add record: 
java.sql.SQLException: ERROR: Cannot insert a duplicate key into unique index 
categoria_cat_nombre_key

To (string to the user):

Cannot insert a duplicate key into unique index "category_name"

Regards,

Antonio Gallardo




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message