Package org.codehaus.xfire

Examples of org.codehaus.xfire.XFireRuntimeException


        {
            builder = factory.newDocumentBuilder();
        }
        catch (ParserConfigurationException e)
        {
           throw new XFireRuntimeException("Couldn't load document builder.", e);
        }
       
        initType();
    }
View Full Code Here


        }
        catch (MappingException e)
        {
            String error = "Could not use specified mapping for unmarshalling.";
            log.error(error, e);
            throw new XFireRuntimeException(error, e);
        }

        try
        {
            // Use Castor to unmarshall the DOM Node.
View Full Code Here

            }
            catch (MappingException e)
            {
                String error = "Error getting resolver from mapping.";
                log.error(error, e);
                throw new XFireRuntimeException(error, e);
            }
        }
        else
        // No mapping, check for accompanying xml descriptor class
        {
View Full Code Here

        {
            return (ServiceRegistry) locator.lookup(ServiceRegistry.ROLE);
        }
        catch (ComponentLookupException e)
        {
            throw new XFireRuntimeException("Couldn't find component.", e);
        }
    }
View Full Code Here

        {
            return (TransportManager) locator.lookup(TransportManager.ROLE);
        }
        catch (ComponentLookupException e)
        {
            throw new XFireRuntimeException("Couldn't find component.", e);
        }
    }
View Full Code Here

            javax.wsdl.xml.WSDLWriter writer = WSDLFactory.newInstance().newWSDLWriter();
            writer.writeWSDL(def, out);
        }
        catch (WSDLException e)
        {
            throw new XFireRuntimeException("Could not write wsdl definition!", e);
        }
    }
View Full Code Here

             
              throw new XFireFault(t, XFireFault.SENDER);
          }
          else
          {
              throw new XFireRuntimeException("Error invoking '" + ServiceUtils.getMethodName(method) + '\'', e);
          }
      }
      catch (IllegalAccessException e)
      {
          throw new XFireFault("Couldn't access service object to invoke '" + ServiceUtils.getMethodName(method) + "': " + e.getMessage(), e, XFireFault.RECEIVER);
View Full Code Here

        {
            return (XFire) locator.lookup(XFire.ROLE);
        }
        catch (ComponentLookupException e)
        {
            throw new XFireRuntimeException("Couldn't find component.", e);
        }
    }
View Full Code Here

        {
            return (TransportManager) locator.lookup(TransportManager.ROLE);
        }
        catch (ComponentLookupException e)
        {
            throw new XFireRuntimeException("Couldn't find component.", e);
        }
    }
View Full Code Here

        {
            throw e;
        }
        catch (Exception e)
        {
            throw new XFireRuntimeException("Could not create wsdl builder", e);
        }
    }
View Full Code Here

TOP

Related Classes of org.codehaus.xfire.XFireRuntimeException

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.