stevel 2003/01/08 22:03:25 Modified: java/webapps/axis EchoHeaders.jws Log: some things I want to test with GET Revision Changes Path 1.3 +19 -0 xml-axis/java/webapps/axis/EchoHeaders.jws Index: EchoHeaders.jws =================================================================== RCS file: /home/cvs/xml-axis/java/webapps/axis/EchoHeaders.jws,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- EchoHeaders.jws 6 Sep 2002 20:41:59 -0000 1.2 +++ EchoHeaders.jws 9 Jan 2003 06:03:25 -0000 1.3 @@ -52,6 +52,7 @@ * <http://www.apache.org/>. */ +import org.apache.axis.AxisFault; import org.apache.axis.MessageContext; import org.apache.axis.transport.http.HTTPConstants; @@ -103,7 +104,25 @@ public String echo(String param) { return param; } + + /** + * throw an axis fault with the text included + */ + public void throwAxisFault(String param) throws AxisFault { + throw new AxisFault(param); + } + + public void throwException(String param) throws Exception { + throw new Exception(param); + } + /** + * thow a runtime exception + */ + public void throwRuntimeException(String param) { + throw new RuntimeException(param); + } + /** * helper * @return