01: /* ****************************************************************************
02: * ServerErrors.java
03: * ****************************************************************************/
04:
05: /* J_LZ_COPYRIGHT_BEGIN *******************************************************
06: * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
07: * Use is subject to license terms. *
08: * J_LZ_COPYRIGHT_END *********************************************************/
09:
10: package org.openlaszlo.test.xmlrpc;
11:
12: public class ServerErrors {
13: public ServerErrors()
14:
15: {
16: }
17:
18: public ServerErrors(java.util.Map arg) {
19: // nothing here
20: }
21:
22: public void makeException() {
23: throw new RuntimeException("Something bad happened");
24: }
25:
26: public void invokeMe(Object arg) {
27: }
28:
29: public String forceTimeout(String val) throws InterruptedException {
30: Thread.sleep(Long.parseLong(val));
31: return "got timeout?";
32: }
33:
34: void noAccess() {
35: }
36: };
|