@Override public void run() { try { Monitor.this.stop(); } catch (WorkflowException e) { // Ignore the error in unsubscription. logger.error(e.getMessage(), e); } } }.start();
@Override public void run() { try { Monitor.this.stop(); } catch (WorkflowException e) { // Ignore the error in unsubscription. logger.error(e.getMessage(), e); } } }.start();
/** * * @param operationName * The name of the operation * @throws WorkflowException */ public void setOperation(String operationName) throws WorkflowException { try { this.invoker.setOperation(operationName); } catch (WorkflowException e) { logger.error(e.getMessage(), e); // An appropriate message has been set in the exception. this.notifier.invocationFailed(e.getMessage(), e); throw e; } catch (RuntimeException e) { logger.error(e.getMessage(), e); String message = "The WSDL does not conform to the invoking service: " + this.serviceInformation; this.notifier.invocationFailed(message, e); throw new WorkflowException(message, e); } catch (Error e) { logger.error(e.getMessage(), e); String message = "Unexpected error: " + this.serviceInformation; this.notifier.invocationFailed(message, e); throw new WorkflowException(message, e); } }
@Override public void windowClosing(WindowEvent event) { int result = JOptionPane.showConfirmDialog(frame, "Are you sure you want to exit?", "Exit XBaya", JOptionPane.YES_NO_OPTION); if (result==JOptionPane.NO_OPTION || (!closeAllGraphCanvas())){ return; } logger.debug(event.toString()); XBayaGUI.this.frame.setVisible(false); try { XBayaGUI.this.engine.dispose(); } catch (WorkflowException e) { // Ignore the error. logger.error(e.getMessage(), e); } catch (RuntimeException e) { // Ignore the error. logger.error(e.getMessage(), e); } if (XBayaGUI.this.engine.getConfiguration().isCloseOnExit()) { System.exit(0); } }
logger.error(e.getMessage(), e); WorkflowInvokerWrapperForGFacInvoker.this.notifier.invocationFailed(e.getMessage(), e); WorkflowInvokerWrapperForGFacInvoker.this.failerSent = true; throw new WorkflowRuntimeException(e);
public Object getOutput(String name) throws WorkflowException { try { waitToFinish(); Object output = super.getOutput(name); if (output instanceof XmlElement) { logger.debug("output: " + XMLUtil.xmlElementToString((XmlElement) output)); } return output; } catch (WorkflowException e) { logger.error(e.getMessage(), e); // An appropriate message has been set in the exception. if (!this.failerSent) { this.notifier.invocationFailed(e.getMessage(), e); } throw e; } catch (RuntimeException e) { logger.error(e.getMessage(), e); String message = "Error while waiting for a output: " + name; this.notifier.invocationFailed(message, e); throw new WorkflowException(message, e); } catch (Error e) { logger.error(e.getMessage(), e); String message = "Unexpected error: " + this.serviceInformation; this.notifier.invocationFailed(message, e); throw new WorkflowException(message, e); } }
this.invoker.setInput(name, value); } catch (WorkflowException e) { logger.error(e.getMessage(), e); this.notifier.invocationFailed(e.getMessage(), e); throw e; } catch (RuntimeException e) {
logger.error(e.getMessage(), e); GenericInvoker.this.notifier.invocationFailed(e.getMessage(), e); GenericInvoker.this.failerSent = true; throw new WorkflowRuntimeException(e);
logger.error(e.getMessage(), e); this.notifier.invocationFailed(e.getMessage(), e);
logger.error(e.getMessage(), e); this.notifier.invocationFailed(e.getMessage(), e); throw e; } catch (URISyntaxException e) {