Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-246

Custom Exception types should be serializable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • M2
    • .NET Client
    • None
    • .NET 1.1

    Description

      The custom Exception types defined by the .NET client should be serializable to ensure the client is easy to use from as many environments as possible. This is pretty important if used in contexts where COM interop is involved, including Enterprise Services.

      This involves:

      • Adding [Serializable] attributes to exception classes
      • Implementing a serialization constructor
      • Implemente ISerializable.GetObjectData() if needed.

      Patch to fix this follows.

      Attachments

        1. QPID-246-2.diff
          16 kB
          Tomas Restrepo
        2. SerializableExceptions.diff
          6 kB
          Tomas Restrepo

        Activity

          People

            Unassigned Unassigned
            tomasr Tomas Restrepo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: