Examples of XBayaRuntimeException


Examples of edu.indiana.extreme.xbaya.XBayaRuntimeException

            newCEPJoinNode.getFreeInPort());
        inEdge.setLabel(inEdgeLabel);
        wsGraph.addEdge(newCEPJoinNode.getFreeOutPort(),
            oldEdge.getRight());
      } catch (GraphException e) {
        throw new XBayaRuntimeException(e);
      }
    }
    String nodeLabel = GraphUtil.getEncodedInputLabels(newCEPJoinNode)
        + "#join";
    newCEPJoinNode.inventLabel(nodeLabel);
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaRuntimeException

        } else if (edges.size() == 1) {
            // This happens when the second edges was wrongly added and removed.
        } else {
            // Should not happen
            throw new XBayaRuntimeException("edges.size(): " + edges.size());
        }
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaRuntimeException

     
      ((NodeImpl)outputNode).setGraph(wsGraph);
      return outputNode;
    }
   
    throw new XBayaRuntimeException("Unhandled node type for clonning:"+node);
  }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaRuntimeException

     *
     * @param index
     */
    public void up(int index) {
        if (index < 1 || index >= this.parameterNodes.size()) {
            throw new XBayaRuntimeException("Illegal index: " + index);
        }
        swap(index - 1, index);
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaRuntimeException

     *
     * @param index
     */
    public void down(int index) {
        if (index < 0 || index >= this.parameterNodes.size() - 1) {
            throw new XBayaRuntimeException("Illegal index: " + index);
        }
        swap(index, index + 1);
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaRuntimeException

            JythonOneTimeRunner runner = (JythonOneTimeRunner) runnerClass
                    .newInstance();
            runner.run(script, arguments);

        } catch (ClassNotFoundException e) {
            throw new XBayaRuntimeException(ErrorMessages.UNEXPECTED_ERROR, e);
        } catch (InstantiationException e) {
            throw new XBayaRuntimeException(ErrorMessages.UNEXPECTED_ERROR, e);
        } catch (IllegalAccessException e) {
            throw new XBayaRuntimeException(ErrorMessages.UNEXPECTED_ERROR, e);
        } finally {
            loader.cleanUp();
        }
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaRuntimeException

              break;
            }
          }

          if (null == inputPartName) {
            throw new XBayaRuntimeException(
                "Could not find a partname in message :"
                    + inputMessage + " for binding :"
                    + wsdlBindingOperation);
          }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaRuntimeException

          JOptionPane.showMessageDialog(engine.getGUI().getFrame(), "Provide a relatively unique workflow name", "Workflow Name", JOptionPane.OK_OPTION);
          engine.getWorkflowPropertyWindow().show();         
          this.id = this.name;
      //If its still null
      if(null == this.id){
        throw new XBayaRuntimeException("The workflow ID is null");
      }
        }
        return this.id;
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaRuntimeException

                // right away.
                removeEdge(fromEdge);
                return;
            }
        }
        throw new XBayaRuntimeException("No edge exist between two ports.");
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaRuntimeException

            logger.caught(e);
            // An appropriate message has been set in the exception.
            GenericInvoker.this.notifier.invocationFailed(e
                .getMessage(), e);
            GenericInvoker.this.failerSent = true;
            throw new XBayaRuntimeException(e);
          } catch (RuntimeException e) {
            logger.caught(e);
            String message = "Error in invoking a service: "
                + GenericInvoker.this.serviceInformation;
            GenericInvoker.this.notifier.invocationFailed(message,
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.