Bug 173039 Exception is shown when accessing a db on an unknown host
Create a report Add a datasource and specified a invalid host name Click on test connection An oversized error dialog appears showing a stack trace Expected: a simple error such as "Host xxx is not accessible" should be displayed instead.
data/org.eclipse.birt.report.data.oda.jdbc/src/org/eclipse/birt/report/data/oda/jdbc/JDBCDriverManager.java
String factoryClass = ( (IConfigurationElement) driverInfo ).getAttribute( OdaJdbcDriver.Constants.DRIVER_INFO_ATTR_CONNFACTORY );
				try
				{
					factory = (IConnectionFactory) ( (IConfigurationElement) driverInfo ).createExecutableExtension( OdaJdbcDriver.Constants.DRIVER_INFO_ATTR_CONNFACTORY );
					logger.fine( "Created connection factory class "
							+ factoryClass + " for driverClass " + driverClass );
				}
				catch ( CoreException e )
				{
					JDBCException ex = new JDBCException( ResourceConstants.CANNOT_INSTANTIATE_FACTORY,
							null,
							new Object[]{
									factoryClass, driverClass
							} );
					logger.log( Level.WARNING,
							"Failed to instantiate connection factory for driverClass "
									+ driverClass,
							ex );
					throw ex;
				}
				assert ( factory != null );
				
				driverExtensions.put( driverClass, factory);
			}
			else
			{
				
				assert driverInfo instanceof IConnectionFactory;
				factory = (IConnectionFactory) driverInfo;