ExceptionPofSerializer Class |
Namespace: Tangosol.IO.Pof
public class ExceptionPofSerializer : IPofSerializer
The ExceptionPofSerializer type exposes the following members.
| Name | Description | |
|---|---|---|
| ExceptionPofSerializer | Initializes a new instance of the ExceptionPofSerializer class |
| Name | Description | |
|---|---|---|
| Deserialize |
Deserialize a user type instance from a POF stream by reading its
state using the specified IPofReader object.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Serialize |
Serialize a user type instance to a POF stream by writing its
state using the specified IPofWriter object.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| WriteException |
Write the exception to the specified stream.
|
This serializer provides a catch-all mechanism for serializing exceptions. Any deserialized exception will loose type information, and simply be represented as a PortableException. The basic detail information of the exception is retained.
PortableException and this class work asymmetrically to provide the serialization routines for exceptions.