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 ( logger.isLoggable( Level.FINER ))
				logger.finer( "Calling IConnectionFactory.getConnection. driverClass=" + driverClass + 
						", url=" + url ); 
			return factory.getConnection( driverClass, url, connectionProperties );
		}
        
        
        
        
        Connection jndiDSConnection = 
            getJndiDSConnection( driverClass, jndiNameUrl, connectionProperties );
        
        if ( jndiDSConnection != null )      
            return jndiDSConnection;         
       
         
         
        
		loadAndRegisterDriver( driverClass, driverClassPath );
		if ( logger.isLoggable( Level.FINER ))
			logger.finer( "Calling DriverManager.getConnection. url=" + url ); 
		try
		{
			return DriverManager.getConnection( url, connectionProperties );
		}
		catch ( RuntimeException e )
		{
			throw new JDBCException( ResourceConstants.CONN_GET_ERROR,
					null,
					e.getMessage( ) );