Package org.codehaus.xfire.service

Source Code of org.codehaus.xfire.service.BadEcho

package org.codehaus.xfire.service;

import org.codehaus.xfire.fault.XFireFault;
import org.jdom.Element;

/**
* Throws an exception while echoing.
*
* @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
* @since Feb 18, 2004
*/
public class BadEcho
    implements Echo
{
    public Element echo(Element e)
        throws XFireFault
    {
        throw new XFireFault("Fault!", XFireFault.SENDER);
    }
}
TOP

Related Classes of org.codehaus.xfire.service.BadEcho

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.