All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.lang.Throwable | +----java.lang.Exception | +----com.extropia.net.JavaCGIBridgeTimeOutException
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.
public JavaCGIBridgeTimeOutException()
public JavaCGIBridgeTimeOutException(String s)
All Packages Class Hierarchy This Package Previous Next Index