[jboss-cvs] JBossAS SVN: r62232 - trunk/connector/src/main/org/jboss/resource/adapter/jdbc.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Apr 10 13:03:21 EDT 2007
Author: vicky.kak at jboss.com
Date: 2007-04-10 13:03:20 -0400 (Tue, 10 Apr 2007)
New Revision: 62232
Modified:
trunk/connector/src/main/org/jboss/resource/adapter/jdbc/BaseWrapperManagedConnectionFactory.java
Log:
[JBAS-3707] Changes
Modified: trunk/connector/src/main/org/jboss/resource/adapter/jdbc/BaseWrapperManagedConnectionFactory.java
===================================================================
--- trunk/connector/src/main/org/jboss/resource/adapter/jdbc/BaseWrapperManagedConnectionFactory.java 2007-04-10 16:31:04 UTC (rev 62231)
+++ trunk/connector/src/main/org/jboss/resource/adapter/jdbc/BaseWrapperManagedConnectionFactory.java 2007-04-10 17:03:20 UTC (rev 62232)
@@ -380,7 +380,7 @@
//This load the URLSelectStrategy class.
public Object loadClass(String className,Object constructorParameter)
- throws JBossResourceException
+ //throws JBossResourceException
{
Object result = null;
try
@@ -394,28 +394,28 @@
catch (ClassNotFoundException cnfe)
{
log.error("Class not found for URLSelectStrategy :"+className);
- throw new JBossResourceException("Class not found for URLSelectStrategy: " + className, cnfe);
+ //throw new JBossResourceException("Class not found for URLSelectStrategy: " + className, cnfe);
}
catch (InstantiationException ie)
{
log.error("Could not instantiate URLSelectorStrategy type :"+className);
- throw new JBossResourceException("Could not instantiate an URLSelectStrategy: ", ie);
+ //throw new JBossResourceException("Could not instantiate an URLSelectStrategy: ", ie);
}
catch (IllegalAccessException iae)
{
log.error("Check for the constructor with List parameter for URLSelectStrategy class as "+className);
- throw new JBossResourceException("Constructor object enforces Java language access control and the underlying constructor is inaccessible: ", iae);
+ //throw new JBossResourceException("Constructor object enforces Java language access control and the //underlying constructor is inaccessible: ", iae);
}
catch (InvocationTargetException ite)
{
log.error("Constructor Invocation failing for URLSelectorStrategy "+className);
- throw new JBossResourceException("The underlying constructor of URLSelecStrategy throws an exception: ", ite);
+ //throw new JBossResourceException("The underlying constructor of URLSelecStrategy throws an exception: //", ite);
}
catch (NoSuchMethodException nsme)
{
log.error("Constructor or Method mismatch in URLSelectorStrategy :"+className);
- throw new JBossResourceException("Could not a matching method for URLSelecStrategy: ", nsme);
+ //throw new JBossResourceException("Could not a matching method for URLSelecStrategy: ", nsme);
}
return result;
More information about the jboss-cvs-commits
mailing list