pmd.run( true, true, op ); } catch ( InvocationTargetException e ) { showErrorDialog( e );
pmd.run( true, true, op ); } catch ( InvocationTargetException e ) { showErrorDialog( e );
pmd.run( true, true, op ); } catch ( InvocationTargetException e ) { showErrorDialog( e );
public boolean open() { boolean retval = true; IRunnableWithProgress op = new IRunnableWithProgress() { public void run( IProgressMonitor monitor ) throws InvocationTargetException, InterruptedException { try { rep.save( jobMeta, versionComment, new ProgressMonitorAdapter( monitor ) ); } catch ( KettleException e ) { throw new InvocationTargetException( e, "Error saving job" ); } } }; try { ProgressMonitorDialog pmd = new ProgressMonitorDialog( shell ); pmd.run( true, true, op ); } catch ( InvocationTargetException e ) { new ErrorDialog( shell, "Error saving job", "An error occured saving the job!", e ); retval = false; } catch ( InterruptedException e ) { new ErrorDialog( shell, "Error saving job", "An error occured saving the job!", e ); retval = false; } return retval; } }
public DatabaseMetaInformation open() { final DatabaseMetaInformation dmi = new DatabaseMetaInformation( dbInfo ); IRunnableWithProgress op = new IRunnableWithProgress() { public void run( IProgressMonitor monitor ) throws InvocationTargetException, InterruptedException { try { dmi.getData( Spoon.loggingObject, new ProgressMonitorAdapter( monitor ) ); } catch ( Exception e ) { throw new InvocationTargetException( e, BaseMessages.getString( PKG, "GetDatabaseInfoProgressDialog.Error.GettingInfoTable", e.toString() ) ); } } }; try { ProgressMonitorDialog pmd = new ProgressMonitorDialog( shell ); pmd.run( true, true, op ); } catch ( InvocationTargetException e ) { showErrorDialog( e ); return null; } catch ( InterruptedException e ) { showErrorDialog( e ); return null; } return dmi; }
pmd.run( false, false, op ); } catch ( InvocationTargetException e ) { log.logError( UpgradeRepositoryProgressDialog.class.toString(), "Error creating/updating repository: "
pmd.run( true, false, op ); } catch ( InvocationTargetException e ) { KettleRepositoryLostException krle = KettleRepositoryLostException.lookupStackStrace( e );
pmd.run( true, true, op ); } catch ( InvocationTargetException e ) { if ( showErrorDialogs ) {
pmd.run( true, true, op ); } catch ( InvocationTargetException e ) { new ErrorDialog( shell,
public String[] open() { IRunnableWithProgress op = new IRunnableWithProgress() { public void run( IProgressMonitor monitor ) throws InvocationTargetException, InterruptedException { try { Xpaths = doScan( monitor ); } catch ( Exception e ) { e.printStackTrace(); throw new InvocationTargetException( e, BaseMessages.getString( PKG, "GetXMLDateLoopNodesImportProgressDialog.Exception.ErrorScanningFile", filename, e.toString() ) ); } } }; try { ProgressMonitorDialog pmd = new ProgressMonitorDialog( shell ); pmd.run( true, true, op ); } catch ( InvocationTargetException e ) { new ErrorDialog( shell, BaseMessages.getString( PKG, "GetXMLDateLoopNodesImportProgressDialog.ErrorScanningFile.Title" ), BaseMessages.getString( PKG, "GetXMLDateLoopNodesImportProgressDialog.ErrorScanningFile.Message" ), e ); } catch ( InterruptedException e ) { new ErrorDialog( shell, BaseMessages.getString( PKG, "GetXMLDateLoopNodesImportProgressDialog.ErrorScanningFile.Title" ), BaseMessages.getString( PKG, "GetXMLDateLoopNodesImportProgressDialog.ErrorScanningFile.Message" ), e ); } return Xpaths; }
public RowMetaAndData[] open() { IRunnableWithProgress op = new IRunnableWithProgress() { public void run( IProgressMonitor monitor ) throws InvocationTargetException, InterruptedException { try { fields = doScan( monitor ); } catch ( Exception e ) { e.printStackTrace(); throw new InvocationTargetException( e, BaseMessages.getString( PKG, "GetXMLDateLoopNodesImportProgressDialog.Exception.ErrorScanningFile", filename, e.toString() ) ); } } }; try { ProgressMonitorDialog pmd = new ProgressMonitorDialog( shell ); pmd.run( true, true, op ); } catch ( InvocationTargetException e ) { new ErrorDialog( shell, BaseMessages.getString( PKG, "GetXMLDateLoopNodesImportProgressDialog.ErrorScanningFile.Title" ), BaseMessages.getString( PKG, "GetXMLDateLoopNodesImportProgressDialog.ErrorScanningFile.Message" ), e ); } catch ( InterruptedException e ) { new ErrorDialog( shell, BaseMessages.getString( PKG, "GetXMLDateLoopNodesImportProgressDialog.ErrorScanningFile.Title" ), BaseMessages.getString( PKG, "GetXMLDateLoopNodesImportProgressDialog.ErrorScanningFile.Message" ), e ); } return fields; }
pmd.run( true, true, op ); } catch ( InvocationTargetException e ) { new ErrorDialog( shell, BaseMessages.getString( PKG, "TextFileCSVImportProgressDialog.ErrorScanningFile.Title" ),
pmd.run( false, false, op ); } catch ( InvocationTargetException e ) { new ErrorDialog( shell, BaseMessages.getString( PKG, "GetSQLProgressDialog.Dialog.UnableToGenerateSQL.Title" ),
pmd.run( true, true, op ); } catch ( InvocationTargetException e ) { new ErrorDialog( shell,
pmd.run( true, true, op ); } catch ( InvocationTargetException e ) { new ErrorDialog( shell,
pmd.run( false, false, op ); } catch ( InvocationTargetException e ) { new ErrorDialog( shell, BaseMessages.getString( PKG, "GetJobSQLProgressDialog.Dialog.UnableToGenerateSQL.Title" ),
pmd.run( true, true, op );
pmd.run( true, true, op ); } catch ( InvocationTargetException e ) { MessageDialog errorDialog =
pmd.run( true, false, op ); } catch ( InvocationTargetException e ) { KettleRepositoryLostException krle = KettleRepositoryLostException.lookupStackStrace( e );
pmd.run( true, true, op ); } catch ( InvocationTargetException e ) { new ErrorDialog( shell, BaseMessages.getString( PKG, "TransGraph.Dialog.GettingFields.Title" ), BaseMessages