#include <coherence/net/RequestIncompleteException.hpp>
Inherits PortableException.
Inherited by RequestTimeoutException.
For some specific requests this exception could carry a partial execution result or failure information.
Public Types | |
typedef spec::Handle | Handle |
RequestIncompleteException Handle definition. | |
typedef spec::View | View |
RequestIncompleteException View definition. | |
typedef spec::Holder | Holder |
RequestIncompleteException Holder definition. | |
Public Member Functions | |
virtual Object::Holder | getPartialResult () const |
Return a partial execution result that may have been assembled prior to the timeout. | |
virtual void | setPartialResult (Object::Holder ohPartialResult) |
Specify a partial execution result. | |
virtual void | readExternal (PofReader::Handle hIn) |
virtual void | writeExternal (PofWriter::Handle hOut) const |
Protected Member Functions | |
RequestIncompleteException (String::View vsMsg=String::null_string, Exception::View vCause=NULL) | |
Create a RequestIncompleteException. | |
RequestIncompleteException (const RequestIncompleteException &) | |
Blocked copy constructor. | |
Protected Attributes | |
FinalHolder< Object > | f_ohPartialResult |
Partial execution result (optional). |
RequestIncompleteException | ( | String::View | vsMsg = String::null_string , |
|
Exception::View | vCause = NULL | |||
) | [protected] |
Create a RequestIncompleteException.
vsMsg | the detail message | |
vCause | the underlying cause of the exception |
virtual Object::Holder getPartialResult | ( | ) | const [virtual] |
Return a partial execution result that may have been assembled prior to the timeout.
The result type is usually the same as the type of the return value for the corresponding request.
virtual void setPartialResult | ( | Object::Holder | ohPartialResult | ) | [virtual] |
Specify a partial execution result.
ohPartialResult | a partial execution result |