gpt4 book ai didi

org.pentaho.ui.xul.XulException.getMessage()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-21 01:59:05 24 4
gpt4 key购买 nike

本文整理了Java中org.pentaho.ui.xul.XulException.getMessage()方法的一些代码示例,展示了XulException.getMessage()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XulException.getMessage()方法的具体详情如下:
包路径:org.pentaho.ui.xul.XulException
类名称:XulException
方法名:getMessage

XulException.getMessage介绍

暂无

代码示例

代码示例来源:origin: pentaho/pentaho-kettle

protected void showMessage( String message ) {
  try {
   XulMessageBox box = (XulMessageBox) document.createElement( "messagebox" );
   box.setMessage( message );
   box.open();
  } catch ( XulException e ) {
   System.out.println( "Error creating messagebox " + e.getMessage() );
  }
 }
}

代码示例来源:origin: pentaho/pentaho-kettle

protected void showMessage( String message, boolean scroll ) {
 try {
  XulMessageBox box = (XulMessageBox) document.createElement( "messagebox" );
  box.setMessage( message );
  box.setModalParent( ( (XulRoot) document.getElementById( "general-datasource-window" ) ).getRootObject() );
  if ( scroll ) {
   box.setScrollable( true );
   box.setWidth( 500 );
   box.setHeight( 400 );
  }
  box.open();
 } catch ( XulException e ) {
  System.out.println( "Error creating messagebox " + e.getMessage() );
 }
}

代码示例来源:origin: pentaho/pentaho-kettle

log.error( resourceBundle.getString( "RepositoryExplorer.ErrorStartingXulApplication" ), e );
new ErrorDialog( ( (Spoon) SpoonFactory.getInstance() ).getShell(), BaseMessages.getString(
 Spoon.class, "Spoon.Error" ), e.getMessage(), e );

代码示例来源:origin: pentaho/big-data-plugin

public void applyToContainer( String category, XulDomContainer container ) throws XulException {
 try {
  container.registerClassLoader( getClass().getClassLoader() );
  container.loadOverlay( "org/pentaho/di/core/hadoop/explorer-layout-overlay.xul", resourceBundle );
  NamedClustersController controller = new NamedClustersController();
  controller.init( Spoon.getInstance().rep );
  container.addEventHandler( controller );
 } catch ( XulException e ) {
  log.logError( e.getMessage() );
 } catch ( ControllerInitializationException e ) {
  log.logError( e.getMessage() );
 }
}

代码示例来源:origin: pentaho/data-access

/**
 * Shows a informational dialog.
 *
 * @param title   title of dialog
 * @param message message within dialog
 */
private void showMessagebox( final String title, final String message ) {
 try {
  XulMessageBox messagebox = (XulMessageBox) document.createElement( "messagebox" ); //$NON-NLS-1$
  messagebox.setTitle( title );
  messagebox.setMessage( message );
  int option = messagebox.open();
 } catch ( XulException e ) {
  Window.alert( "Show MessabeBox " + e.getMessage() );
 }
}

代码示例来源:origin: pentaho/big-data-plugin

container.addEventHandler( controller );
} catch ( XulException e ) {
 log.logError( e.getMessage() );

代码示例来源:origin: pentaho/data-access

MessageHandler.getInstance().showErrorDialog( "Error", e.getMessage() );
 e.printStackTrace();
} catch ( InvocationTargetException e ) {

代码示例来源:origin: pentaho/data-access

System.out.println( e.getMessage() );
e.printStackTrace();

代码示例来源:origin: pentaho/data-access

confirm = (XulConfirmBox) document.createElement( "confirmbox" );
} catch ( XulException e ) {
 Window.alert( e.getMessage() );

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com