All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.extropia.net.JavaCGIBridgeTimeOutException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----com.extropia.net.JavaCGIBridgeTimeOutException

public class JavaCGIBridgeTimeOutException
extends Exception
Signals that the JavaCGIBridge Timed out while attempting to POST or GET data from a URL connection.

The timeout occurs if no data has been sent to the user of the JavaCGIBridge class in a specified period of time.

For getRawData or getParsedData usage of JavaCGIBridge, the timeout will be sent for the time it takes for the entire HTTP request and response transactions to take place.

If an observer interface is used to look at the data while the response is in progress, then the timer gets reset between observer notifications.

You should keep this in mind when setting up timeouts. For example, a 100,000 record result set might take 5 minutes to be received and parsed by the JavaCGIBridge class. However, if you set up an observer interface to get notified every 100 records, then the timeout time limit can be set to a smaller threshold.

Version:
2.00, 18 Jul 1998
Author:
Gunther Birznieks, Marty Hall

Constructor Index

 o JavaCGIBridgeTimeOutException()
Constructs a JavaCGIBridgeTimeOutException with no detail message.
 o JavaCGIBridgeTimeOutException(String)
Constructs a JavaCGIBridgeTimeOutException with the specified detail message.

Constructors

 o JavaCGIBridgeTimeOutException
 public JavaCGIBridgeTimeOutException()
Constructs a JavaCGIBridgeTimeOutException with no detail message. A detail message is a String that describes this particular exception.

 o JavaCGIBridgeTimeOutException
 public JavaCGIBridgeTimeOutException(String s)
Constructs a JavaCGIBridgeTimeOutException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
s - the String that contains a detailed message

All Packages  Class Hierarchy  This Package  Previous  Next  Index