#include <coherence/net/RequestTimeoutException.hpp>
Inherits PortableException.
For some specific requests this exception could carry a partial execution result.
Public Types | |
typedef spec::Handle | Handle |
RequestTimeoutException Handle definition. | |
typedef spec::View | View |
RequestTimeoutException View definition. | |
typedef spec::Holder | Holder |
RequestTimeoutException 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 | |
RequestTimeoutException (String::View vsMsg=String::null_string, Exception::View vCause=NULL) | |
Create a RequestTimeoutException. | |
Protected Attributes | |
FinalHolder< Object > | f_ohPartialResult |
Partial execution result (optional). |
RequestTimeoutException | ( | String::View | vsMsg = String::null_string , |
|
Exception::View | vCause = NULL | |||
) | [protected] |
Create a RequestTimeoutException.
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 |