Class RequestIncompleteException
Signals that a request execution in a distributed environment failed to complete successfully.
Inherited Members
Namespace: Tangosol.Net
Assembly: Coherence.dll
Syntax
[Serializable]
public class RequestIncompleteException : PortableException, IPortableObject, ISerializable
Remarks
For some specific requests this exception could carry a partial execution result or failure information.
Constructors
RequestIncompleteException()
Constructs a RequestIncompleteException with no detail message.
Declaration
public RequestIncompleteException()
RequestIncompleteException(Exception)
Construct a RequestIncompleteException from an Exception object.
Declaration
public RequestIncompleteException(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e | The Exception object. |
RequestIncompleteException(SerializationInfo, StreamingContext)
Construct a RequestTimeoutException class with serialized data.
Declaration
public RequestIncompleteException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
RequestIncompleteException(string)
Constructs a RequestIncompleteException with the specified detail message.
Declaration
public RequestIncompleteException(string s)
Parameters
Type | Name | Description |
---|---|---|
string | s | The string that contains a detailed message. |
RequestIncompleteException(string, Exception)
Construct a RequestIncompleteException from a Exception object and an additional description.
Declaration
public RequestIncompleteException(string s, Exception e)
Parameters
Type | Name | Description |
---|---|---|
string | s | The additional description. |
Exception | e | The Exception object. |
Properties
PartialResult
A partial execution result that may have been assembled prior to an exception.
Declaration
public virtual object PartialResult { get; set; }
Property Value
Type | Description |
---|---|
object | A partial execution result (optional). |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Sets the SerializationInfo with information about the exception.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
Overrides
ReadExternal(IPofReader)
Restore the contents of a user type instance by reading its state using the specified IPofReader object.
Declaration
public override void ReadExternal(IPofReader reader)
Parameters
Type | Name | Description |
---|---|---|
IPofReader | reader | The IPofReader from which to read the object's state. |
Overrides
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |
WriteExternal(IPofWriter)
Save the contents of a POF user type instance by writing its state using the specified IPofWriter object.
Declaration
public override void WriteExternal(IPofWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IPofWriter | writer | The IPofWriter to which to write the object's state. |
Overrides
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |