01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.test.server.appserver.load;
05:
06: import org.apache.commons.httpclient.HttpClient;
07:
08: import java.net.URL;
09:
10: public class ExitRequest implements Request {
11:
12: public void setEnterQueueTime() {
13: throw new RuntimeException("ExitRequest object has no data!");
14: }
15:
16: public void setExitQueueTime() {
17: throw new RuntimeException("ExitRequest object has no data!");
18: }
19:
20: public void setProcessCompletionTime() {
21: throw new RuntimeException("ExitRequest object has no data!");
22: }
23:
24: public URL getUrl() {
25: throw new RuntimeException(
26: "ExitRequest object is not associated with an url!");
27: }
28:
29: public long getEnterQueueTime() {
30: throw new RuntimeException("ExitRequest object has no data!");
31: }
32:
33: public long getExitQueueTime() {
34: throw new RuntimeException("ExitRequest object has no data!");
35: }
36:
37: public long getProcessCompletionTime() {
38: throw new RuntimeException("ExitRequest object has no data!");
39: }
40:
41: public HttpClient getClient() {
42: throw new RuntimeException(
43: "ExitRequest object is not associated with a client!");
44: }
45:
46: public int getAppserverID() {
47: throw new RuntimeException(
48: "ExitRequest object is not associated with an app server!");
49: }
50:
51: public String toString() {
52: return "ExitRequest";
53: }
54:
55: public String printData() {
56: throw new RuntimeException("ExitRequest object has no data!");
57: }
58: }
|