Examples of MonitorException


Examples of org.apache.airavata.xbaya.monitor.MonitorException

            String value = parameter.requiredText();
            return value;
        }
        // TODO
        String message = "Couldn't find a notification of the output from the service with nodeID, " + nodeID;
        throw new MonitorException(message);
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.monitor.MonitorException

            } else {
                String[] endpoints = this.wseClient.startConsumerService(2222, this);
                this.subscriptionID = this.wseClient.subscribe(endpoints[0], this.topic, null);
            }
        } catch (IOException e) {
            throw new MonitorException("Failed to subscribe.", e);
        } catch (RuntimeException e) {
            throw new MonitorException("Failed to subscribe.", e);
        }
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.monitor.MonitorException

            } else {
                this.wseClient.unSubscribe(this.subscriptionID);
            }
            this.wseClient.unSubscribe(this.subscriptionID);
        } catch (MsgBrokerClientException e) {
            throw new MonitorException("Failed to unsubscribe.", e);
        }

    }
View Full Code Here

Examples of org.apache.airavata.xbaya.monitor.MonitorException

            XmlElement soapBody = body.element(XmlConstants.S_BODY);
            WsdlPortTypeOperation wsdlPortTypeOperation;
            try {
                wsdlPortTypeOperation = WSDLUtil.getFirstOperation(this.modifiedWorkflow.getWorkflowWSDL());
            } catch (UtilsException e) {
                throw new MonitorException(e);
            }
            XmlElement part = soapBody.element(wsdlPortTypeOperation.getName());
            XmlElement parameter = part.element(nodeID);
            // TODO support complex type.
            String value = parameter.requiredText();
            return value;
        }
        // TODO
        String message = "Couldn't find a notification of about the input with nodeID, " + nodeID;
        throw new MonitorException(message);
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.monitor.MonitorException

            String value = parameter.requiredText();
            return value;
        }
        // TODO
        String message = "Couldn't find a notification of the output from the service with nodeID, " + nodeID;
        throw new MonitorException(message);
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.monitor.MonitorException

            } else {
                String[] endpoints = this.wseClient.startConsumerService(2222, this);
                this.subscriptionID = this.wseClient.subscribe(endpoints[0], this.topic, null);
            }
        } catch (IOException e) {
            throw new MonitorException("Failed to subscribe.", e);
        } catch (RuntimeException e) {
            throw new MonitorException("Failed to subscribe.", e);
        }
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.monitor.MonitorException

            } else {
                this.wseClient.unSubscribe(this.subscriptionID);
            }
            this.wseClient.unSubscribe(this.subscriptionID);
        } catch (MsgBrokerClientException e) {
            throw new MonitorException("Failed to unsubscribe.", e);
        }

    }
View Full Code Here

Examples of org.apache.oodt.cas.resource.structs.exceptions.MonitorException

        try {
            nodeVector = (Vector) client.execute("resourcemgr.getNodes",
                    argList);
        } catch (XmlRpcException e) {
            throw new MonitorException(e.getMessage());
        } catch (IOException e) {
            throw new MonitorException(e.getMessage());
        }

        return XmlRpcStructFactory.getResourceNodeListFromXmlRpc(nodeVector);

    }
View Full Code Here

Examples of org.apache.oodt.cas.resource.structs.exceptions.MonitorException

        try {
            resNodeHash = (Hashtable) client.execute("resourcemgr.getNodeById",
                    argList);
        } catch (XmlRpcException e) {
            throw new MonitorException(e.getMessage());
        } catch (IOException e) {
            throw new MonitorException(e.getMessage());
        }

        return XmlRpcStructFactory.getResourceNodeFromXmlRpc(resNodeHash);

    }
View Full Code Here

Examples of org.apache.oodt.cas.resource.structs.exceptions.MonitorException

      lastMethodCallDetails = new MethodCallDetails("getNodeById",
            Lists.newArrayList((Object) nodeId));
      try {
         return new ResourceNode(nodeId, new URL("http://localhost:9999"), 5);
      } catch (Exception e) {
         throw new MonitorException(e);
      }
   }
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.