|
From: <jue...@we...> - 2003-08-28 13:45:05
|
Andreas,
That's a very good idea: I've just included it and generally refined the =
bean factory exception messages on the occasion :-)
Juergen
-----Original Message-----
From: Andreas Rudolf [mailto:an...@mu...]
Sent: Thursday, August 28, 2003 1:54 PM
To: spr...@li...
Subject: [Springframework-developer] XMLBeanFactory
Hi J=FCrgen,
is it possible to add one more catch in the =
loadBeanDefinitions(InputStream=20
is) method?
Currently it just throw SAXException, but then you can't see the =
errorline in=20
the message.
Will be better to add =20
catch (SAXParseException ex)=20
{
throw new BeanDefinitionStoreException("XML document is invalid: Line: =
" +=20
ex.getLineNumber(), ex); =20
} =20
before the catch(SAXParseException ex).
What do you think?
Best regards
Andy
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|