Package org.codehaus.xfire

Examples of org.codehaus.xfire.XFireRuntimeException


            Resolver resolver = new Resolver(home, wsdlURL);
           
            URL url = resolver.getURL();
            if (url == null)
            {
                throw new XFireRuntimeException("Could not resolve WSDL URL " + wsdlURL);
            }
           
            xfireService = serviceFactory.create(intf, null, url, properties);
        }
        else
View Full Code Here


    public Type createCollectionType(TypeClassInfo info)
    {
        if (info.getGenericType() == null)
        {
            throw new XFireRuntimeException("Cannot create mapping for "
                    + info.getTypeClass().getName() + ", unspecified component type for "
                    + info.getDescription());
        }

        return createCollectionTypeFromGeneric(info);
View Full Code Here

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

               
                register(tm, cls, typeName, type);
            }
            catch (InstantiationException e)
            {
                throw new XFireRuntimeException("Couldn't instantiate Type ", e);
            }
            catch (IllegalAccessException e)
            {
                throw new XFireRuntimeException("Couldn't instantiate Type ", e);
            }
        }
        catch (ClassNotFoundException e)
        {
            logger.debug("Could not find optional Type " + className +". Skipping.");
View Full Code Here

            writer.writeEndElement(); // Fault
        }
        catch (XMLStreamException xe)
        {
            throw new XFireRuntimeException("Couldn't create fault.", xe);
        }
    }
View Full Code Here

            writer.writeEndElement(); // Fault
        }
        catch (XMLStreamException xe)
        {
            throw new XFireRuntimeException("Couldn't create fault.", xe);
        }
    }
View Full Code Here

                while (checkHasMoreChildReaders()) {}
            }
            catch (XMLStreamException e)
            {
                throw new XFireRuntimeException("Could not read XML stream.", e);
            }
           
            if (value == null) {
              value = "";
            }
View Full Code Here

            hasChildren = false;
            return false;
        }
        catch (XMLStreamException e)
        {
            throw new XFireRuntimeException("Error parsing document.", e);
        }
    }
View Full Code Here

           
            return map;
        }
        catch (IllegalArgumentException e)
        {
            throw new XFireRuntimeException("Illegal argument.", e);
        }
    }
View Full Code Here

            {
                map = (Map) getTypeClass().newInstance();
            }
            catch (Exception e)
            {
                throw new XFireRuntimeException(
                    "Could not create map implementation: " + getTypeClass().getName(), e);
            }
        }
       
        return map;
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.