Depends on whether JDK 1.2/1.3 support is expected. I suspect 1.1.2 is expected to work on those versions, but will need to check.
Hen On Wed, Mar 12, 2008 at 4:46 AM, knlyknly <[EMAIL PROTECTED]> wrote: > I've downloaded jakarta-taglibs-standard-1.1.2-src.tar.gz > 2008.3.12 > > in the file > > /jakarta-taglibs-standard-1.1.2-src/standard/src/org/apache/taglibs/standard/tag/common/sql/QueryTagSupport.java > Line 276-278: > throw new > JspException(Resources.getMessage("DATASOURCE_INVALID",ex.toString())); > and I think > throw new > JspException(Resources.getMessage("DATASOURCE_INVALID",ex.toString()),ex); > would be better for users who want to get the cause exception instead of > only a message. > > And how about > if(ex instanceof SQLException) > throw (SQLException)ex; > else > throw new > JspException(Resources.getMessage("DATASOURCE_INVALID",ex.toString()),ex); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]