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
if ( cachedDriversMap.get( driverClassName ) == null )
			{
				Enumeration enumeration = DriverManager.getDrivers( );
				while ( enumeration.hasMoreElements( ) )
				{
					Driver driver = (Driver) enumeration.nextElement( );
					
					
					
					
					if ( isExpectedDriver( driver, driverClassName ) )
					{
						if ( driver.acceptsURL( connectionString ) )
						{
							cachedDriversMap.put( driverClassName, driver );
							
							
							
							
							
							tryCreateConnection( driverClassName,
									connectionString,
									userId,
									password );
							canConnect = true;
							break;
						}
					}
				}