Package org.apache.axis

Examples of org.apache.axis.InternalException


        // All operations should now be synchronized.  Check it.
        for (Iterator iterator = operations.iterator(); iterator.hasNext();) {
            OperationDesc operation = (OperationDesc) iterator.next();
            if (operation.getMethod() == null) {
                throw new InternalException(
                        Messages.getMessage("badWSDDOperation",
                                            operation.getName(),
                                            "" + operation.getNumParams()));
            }
        }
View Full Code Here


        // appropriately.
        if (style == Style.MESSAGE) {
            int messageOperType = checkMessageMethod(method);
            if(messageOperType == OperationDesc.MSG_METHOD_NONCONFORMING) return;
            if (messageOperType == -1) {
                throw new InternalException("Couldn't match method to any of the allowable message-style patterns!");
            }
            operation.setMessageOperationStyle(messageOperType);
            operation.setReturnClass(Object.class);
            operation.setReturnType(Constants.XSD_ANYTYPE);
        } else {
View Full Code Here

                                               Class transportClass) {
        if (Transport.class.isAssignableFrom(transportClass)) {
            transports.put(protocol, transportClass);
        }
        else {
            throw new InternalException(transportClass.toString());
        }
    }
View Full Code Here

    public Text(String s) {
        try {
            org.w3c.dom.Document doc = org.apache.axis.utils.XMLUtils.newDocument();
            textRep = doc.createTextNode(s);
        } catch (javax.xml.parsers.ParserConfigurationException e) {
            throw new InternalException(e);
        }
    }
View Full Code Here

        try {
            PropertyDescriptor[] rawPd = Introspector.getBeanInfo(javaType).getPropertyDescriptors();
            pd = BeanPropertyDescriptor.processPropertyDescriptors(rawPd,javaType);
        } catch (Exception e) {
            // this should never happen
            throw new InternalException(e);
        }
        return pd;
    }
View Full Code Here

            if (readClosed) {
                throw new java.io.IOException(
                        JavaUtils.getMessage("streamClosed"));
            }
            if (b == null) {
                throw new InternalException(JavaUtils.getMessage("nullInput"));
            }
            if (off < 0)  {
                throw new IndexOutOfBoundsException(
                        JavaUtils.getMessage("negOffset", "" + off));
            }
View Full Code Here

    public static void setTransportForProtocol(String protocol,
                                               Class transportClass) {
        if (Transport.class.isAssignableFrom(transportClass))
            transports.put(protocol, transportClass);
        else
            throw new InternalException(transportClass.toString());
    }
View Full Code Here

            element.appendChild(text);
            return element;
        }
        catch (ParserConfigurationException e) {
            // This should not occur
            throw new InternalException(e);
        }
    }
View Full Code Here

                                               Class transportClass) {
        if (Transport.class.isAssignableFrom(transportClass)) {
            transports.put(protocol, transportClass);
        }
        else {
            throw new InternalException(transportClass.toString());
        }
    }
View Full Code Here

    private static Element getDocumentElement(InputStream input)
    {
        try {
            return XMLUtils.newDocument(input).getDocumentElement();
        } catch (Exception e) {
            throw new InternalException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.axis.InternalException

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.