[teiid-commits] teiid SVN: r1091 - trunk/client-jdbc/src/main/java/com/metamatrix/jdbc.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Wed Jul 1 15:04:16 EDT 2009


Author: shawkins
Date: 2009-07-01 15:04:16 -0400 (Wed, 01 Jul 2009)
New Revision: 1091

Modified:
   trunk/client-jdbc/src/main/java/com/metamatrix/jdbc/EmbeddedDriver.java
Log:
updating exception message for failed driver loads

Modified: trunk/client-jdbc/src/main/java/com/metamatrix/jdbc/EmbeddedDriver.java
===================================================================
--- trunk/client-jdbc/src/main/java/com/metamatrix/jdbc/EmbeddedDriver.java	2009-06-30 21:19:01 UTC (rev 1090)
+++ trunk/client-jdbc/src/main/java/com/metamatrix/jdbc/EmbeddedDriver.java	2009-07-01 19:04:16 UTC (rev 1091)
@@ -378,7 +378,7 @@
                 Class<?> clazz = this.classLoader.loadClass(className);            
                 this.connectionFactory = (ServerConnectionFactory)clazz.newInstance();                
             } catch (Exception e) {
-                throw MMSQLException.create(e);                
+            	throw MMSQLException.create(e, "Could not load the embedded server, please ensure that your classpath is set correctly."); //$NON-NLS-1$                
             } finally {
                 Thread.currentThread().setContextClassLoader(current);
             }                        




More information about the teiid-commits mailing list