1 4 package com.tc.test.server.appserver.load; 5 6 import org.apache.commons.httpclient.HttpClient; 7 8 import java.net.URL ; 9 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 ("ExitRequest object is not associated with an url!"); 26 } 27 28 public long getEnterQueueTime() { 29 throw new RuntimeException ("ExitRequest object has no data!"); 30 } 31 32 public long getExitQueueTime() { 33 throw new RuntimeException ("ExitRequest object has no data!"); 34 } 35 36 public long getProcessCompletionTime() { 37 throw new RuntimeException ("ExitRequest object has no data!"); 38 } 39 40 public HttpClient getClient() { 41 throw new RuntimeException ("ExitRequest object is not associated with a client!"); 42 } 43 44 public int getAppserverID() { 45 throw new RuntimeException ("ExitRequest object is not associated with an app server!"); 46 } 47 48 public String toString() { 49 return "ExitRequest"; 50 } 51 52 public String printData() { 53 throw new RuntimeException ("ExitRequest object has no data!"); 54 } 55 } 56 | Popular Tags |