All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.extropia.net.JavaCGIBridgeStillProcessingException

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

public class JavaCGIBridgeStillProcessingException
extends RuntimeException
Signals that the user is trying to use this class when it is still processing some request.

It is important to keep in mind that although an operation on JavaCGIBridge may not involve return feedback such as callOneWay(), the JavaCGIBridge object must still spend time in its own thread setting up an HTTP request and response.

Therefore, if you use asynchronous operations such as callOneWay() instead of synchronous operations like getRawData() and getParsedData(), then you should use the getStatus() method before using the object for a subsequent HTTP request.

If you feel this is too much overhead, then you are encouraged to use the JavaCGIBridgePool class which keeps track of which objects are free and which are not and knows when it needs to create a new one automatically.

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

Constructor Index

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

Constructors

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

 o JavaCGIBridgeStillProcessingException
 public JavaCGIBridgeStillProcessingException(String s)
Constructs a JavaCGIBridgeStillProcessingException 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