Parsing jdbc error message

Hi,

I have this problem. I need to parse jdbc error message like

ora-xxxx value to large for column "%s"."%s"."%s" (actual %d, maximum %d)

I need to get the error information in the template eg "%s". so that I can print the name of the column for which the input is large to the user. Also what is the maximum size of the column. The input is contained in a file so i can not limit the text box size here.

Is there any way provided by jdbc to retrive this without resorting to regular expression?

Thanks in advance.

[552 byte] By [amishera2006a] at [2007-11-27 7:02:05]
# 1
> > Is there any way provided by jdbc to retrive this> without resorting to regular expression?No.> for which the input is large to the user. Sounds like your design needs work.
jschella at 2007-7-12 18:53:03 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...