Examples of showError()


Examples of com.gadglet.client.gwt.ui.DebugDialogBox.showError()

            + serverNamePref.length();
        serverName = getGadgetXmlUrl().substring(nameStart,
            getGadgetXmlUrl().indexOf("/", nameStart));
      } catch (Exception e) {

        errorNotifier.showError(0, e.getMessage());
      }
    } else {
      serverName = SharedConstants.defaultGadgetServer;
    }
View Full Code Here

Examples of com.gadglet.client.gwt.ui.DebugDialogBox.showError()

          + SharedConstants.gadgetDirName.length();
      gadgetName = gadgetLocation.substring(gadgetNameSart,
          gadgetLocation.indexOf("/", gadgetNameSart));
    } catch (Exception e) {

      errorNotifier.showError(0, e.getMessage());
    }

    return gadgetName;
  }
View Full Code Here

Examples of com.habitsoft.kiyaa.widgets.Feedback.showError()

    setLoadingHtml("<img src=\""+src+"\"/>");
  }

    private void displayError(Throwable caught) {
        Feedback fb = new Feedback();
        fb.showError(caught);
        if(GWT.getUncaughtExceptionHandler() != null)
          GWT.getUncaughtExceptionHandler().onUncaughtException(caught);
        wrapper.setWidget(fb);
    }
}
View Full Code Here

Examples of org.cishell.service.guibuilder.GUIBuilderService.showError()

      String format = "An error occurred when creating algorithm \"%s\".  (Reason: %s)";
      String errorMessage = String.format(format, name, e.getMessage());
      GUIBuilderService builder = (GUIBuilderService) Activator
          .getCiShellContext().getService(
              GUIBuilderService.class.getName());
      builder.showError("Error!", errorMessage, e);
      log(LogService.LOG_ERROR, errorMessage, e);
      return null;
    } catch (RuntimeException e) {
      GUIBuilderService builder = (GUIBuilderService) Activator
          .getCiShellContext().getService(
View Full Code Here

Examples of org.cishell.service.guibuilder.GUIBuilderService.showError()

          .getCiShellContext().getService(
              GUIBuilderService.class.getName());
      String errorMessage = String
          .format("An unxpected error occurred while executing the algorithm \"%s\".",
              e.getMessage());
      builder.showError("Error!", errorMessage, e);
      return null;
    }
  }

  public void dataSelected(Data[] selectedData) {
View Full Code Here

Examples of org.cishell.service.guibuilder.GUIBuilderService.showError()

            GUIBuilderService guiBuilder = (GUIBuilderService)
                context.getService(GUIBuilderService.class.getName());
           
            boolean confirm = guiBuilder.showConfirm("showConfirm()", "showConfirm Test", "showConfirm Details");
            log.log(LogService.LOG_INFO, "Confirmed? " + confirm);
            guiBuilder.showError("showError()", "showError Test", "showError Details");
           
            try {
                Integer.parseInt("Not an integer...");
            } catch (NumberFormatException e) {
                guiBuilder.showError("showError()", "showError w/ Throwable Test", e);
View Full Code Here

Examples of org.cishell.service.guibuilder.GUIBuilderService.showError()

            guiBuilder.showError("showError()", "showError Test", "showError Details");
           
            try {
                Integer.parseInt("Not an integer...");
            } catch (NumberFormatException e) {
                guiBuilder.showError("showError()", "showError w/ Throwable Test", e);
            }
           
            guiBuilder.showInformation("showInformation()", "showInformation Test", "showInformation Details");
            confirm = guiBuilder.showQuestion("showQuestion()", "showQuestion Test", "showQuestion Details");
            log.log(LogService.LOG_INFO, "Yes? " + (confirm ? "Yes" : "No"));
View Full Code Here

Examples of org.cishell.service.guibuilder.GUIBuilderService.showError()

      String errorMessage = "An error occurred while preparing to run "
        + "the algorithm \"" + this.serviceReference.getProperty(AlgorithmProperty.LABEL)
        + ".\"";
           

      builder.showError("Error!", errorMessage, e);
      log(LogService.LOG_ERROR, errorMessage, e);
    }

    return null;
  }
View Full Code Here

Examples of org.cishell.service.guibuilder.GUIBuilderService.showError()

      String details = "The algorithm's pid was \""
          + serviceReference.getProperty(Constants.SERVICE_PID)
          + "\" (potentially useful for debugging purposes).";
      GUIBuilderService builder = (GUIBuilderService) this.ciShellContext
          .getService(GUIBuilderService.class.getName());
      builder.showError("Error!", errorMessage, details);
      this.log(LogService.LOG_ERROR, errorMessage);
    }

    return algorithmFactory;
  }
View Full Code Here

Examples of org.cishell.service.guibuilder.GUIBuilderService.showError()

      String format = "An error occurred when creating algorithm \"%s\".  (Reason: %s)";
      String errorMessage = String.format(format, algorithmName,
          e.getMessage());
      GUIBuilderService builder = (GUIBuilderService) ciContext
          .getService(GUIBuilderService.class.getName());
      builder.showError("Error!", errorMessage, e);
      log(LogService.LOG_ERROR, errorMessage, e);

      return null;
    } catch (Exception e) {
      String errorMessage = String
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.