Package edu.indiana.extreme.xbaya

Examples of edu.indiana.extreme.xbaya.XBayaException


        // The service-failed notification should have been sent
        // already.
        logger.caught(e);
        String message = "Error in invoking a service: "
            + this.serviceInformation;
        throw new XBayaException(message, e);
      }

      logger.exiting();
    } catch (RuntimeException e) {
      logger.caught(e);
      String message = "Error in invoking a service: "
          + this.serviceInformation;
      this.notifier.invocationFailed(message, e);
      throw new XBayaException(message, e);
    } catch (Error e) {
      logger.caught(e);
      String message = "Unexpected error: " + this.serviceInformation;
      this.notifier.invocationFailed(message, e);
      throw new XBayaException(message, e);
    }
  }
View Full Code Here


        String message = "Error in a service: ";
        // An implementation of WSIFMessage,
        // WSIFMessageElement, implements toString(), which
        // serialize the message XML.
        message += faultMessage.toString();
        throw new XBayaException(message);
      }
      logger.exiting();
    } catch (InterruptedException e) {
      logger.caught(e);
    } catch (ExecutionException e) {
      // The service-failed notification should have been sent already.
      logger.caught(e);
      String message = "Error in invoking a service: "
          + this.serviceInformation;
      throw new XBayaException(message, e);
    } catch (RuntimeException e) {
      logger.caught(e);
      String message = "Error while waiting for a service to finish: "
          + this.serviceInformation;
      this.notifier.invocationFailed(message, e);
      throw new XBayaException(message, e);
    } catch (Error e) {
      logger.caught(e);
      String message = "Unexpected error: " + this.serviceInformation;
      this.notifier.invocationFailed(message, e);
      throw new XBayaException(message, e);
    }
  }
View Full Code Here

      throw e;
    } catch (RuntimeException e) {
      logger.caught(e);
      String message = "Error while waiting for a output: " + name;
      this.notifier.invocationFailed(message, e);
      throw new XBayaException(message, e);
    } catch (Error e) {
      logger.caught(e);
      String message = "Unexpected error: " + this.serviceInformation;
      this.notifier.invocationFailed(message, e);
      throw new XBayaException(message, e);
    }
  }
View Full Code Here

            WSIFPort port = service.getPort();
            this.gFacOperation = port.createOperation(CREATE_SERVICE_OPERATION);
        } catch (RuntimeException e) {
            String message = "Failed to connect to the Generic Factory: "
                    + wsdlURI;
            throw new XBayaException(message, e);
        }
    }
View Full Code Here

            if (!success) {
                // An implementation of WSIFMessage, WSIFMessageElement,
                // implements toString(), which serialize the message XML.
                String message = "Failed to create a service: "
                        + faultMessage.toString();
                throw new XBayaException(message);
            }

            String wsdl = (String) outputMessage.getObjectPart(WSDL_PART);
            logger.finest("WSDL: " + wsdl);

            XmlElement definitionsElement = XMLUtil.stringToXmlElement3(wsdl);

            this.serviceDefinitions = new WsdlDefinitions(definitionsElement);
            return this.serviceDefinitions;
        } catch (RuntimeException e) {
            String message = "Failed to create a service";
            throw new XBayaException(message, e);
        }
    }
View Full Code Here

        if (!success) {
            // An implementation of WSIFMessage, WSIFMessageElement,
            // implements toString(), which serialize the message XML.
            String message = "Failed to shutdown the service: "
                    + faultMessage.toString();
            throw new XBayaException(message);
        }
    }
View Full Code Here

                                        .xmlElementToString((XmlElement) this.faultMessage));
            }
           
        } catch (RuntimeException e) {
            String message = "Error in invoking a service.";
            throw new XBayaException(message, e);
        }
    }
View Full Code Here

      this.gFacOperation = port.createOperation(CREATE_SERVICE_OPERATION);

    } catch (RuntimeException e) {
      String message = "Failed to connect to the Generic Factory: "
          + wsdlURI;
      throw new XBayaException(message, e);
    }
  }
View Full Code Here

      if (!success) {
        // An implementation of WSIFMessage, WSIFMessageElement,
        // implements toString(), which serialize the message XML.
        String message = "Failed to create a service: "
            + faultMessage.toString();
        throw new XBayaException(message);
      }

      String wsdl = (String) outputMessage.getObjectPart(WSDL_PART);
      logger.finest("WSDL: " + wsdl);

      XmlElement definitionsElement = XMLUtil.stringToXmlElement3(wsdl);

      this.serviceDefinitions = new WsdlDefinitions(definitionsElement);
      return this.serviceDefinitions;
    } catch (RuntimeException e) {
      String message = "Failed to create a service";
      throw new XBayaException(message, e);
    }
  }
View Full Code Here

    if (!success) {
      // An implementation of WSIFMessage, WSIFMessageElement,
      // implements toString(), which serialize the message XML.
      String message = "Failed to shutdown the service: "
          + faultMessage.toString();
      throw new XBayaException(message);
    }
  }
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.xbaya.XBayaException

Copyright © 2018 www.massapicom. 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.