Bug 319902 Internal API Usage of the ODA framework components
data/org.eclipse.birt.report.data.oda.jdbc.dbprofile.ui/src/org/eclipse/birt/report/data/oda/jdbc/dbprofile/ui/internal/sqb/SQBDataSetWizardPage.java
IStatus status = doConnect();
				monitor.done( );
				
				if( status == null || ! status.isOK() )
				    throw new InvocationTargetException( Connection.getStatusException( status ) );				
			}
		};
		try
		{
			new ProgressMonitorDialog( parentShell ) {}
			    .run( true, false, runnable );
		}
		catch ( InvocationTargetException e )
		{
		    raiseConnectionErrorMessage( parentShell, e );
			return false;
		}
		catch ( InterruptedException e )
		{
            raiseConnectionErrorMessage( parentShell, e );
            return false;
		}
		
		return true;
	}
    
    private IStatus doConnect()
    {
        IConnectionProfile connProfile = getConnectionProfile( false, false );
        assert( connProfile != null );