Click or drag to resize

ExceptionPofSerializer Class

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
IPofSerializer implementation that can serialize and deserialize a Exception to/from a POF stream.
Inheritance Hierarchy
SystemObject
  Tangosol.IO.PofExceptionPofSerializer

Namespace:  Tangosol.IO.Pof
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public class ExceptionPofSerializer : IPofSerializer

The ExceptionPofSerializer type exposes the following members.

Constructors
  NameDescription
Public methodExceptionPofSerializer
Initializes a new instance of the ExceptionPofSerializer class
Top
Methods
  NameDescription
Public methodDeserialize
Deserialize a user type instance from a POF stream by reading its state using the specified IPofReader object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSerialize
Serialize a user type instance to a POF stream by writing its state using the specified IPofWriter object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberWriteException
Write the exception to the specified stream.
Top
Remarks

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.

See Also