[
https://issues.apache.org/jira/browse/QPID-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462537
]
Rupert Smith commented on QPID-246:
-----------------------------------
Tried the second patch. Looks fine too.
> Custom Exception types should be serializable
> ---------------------------------------------
>
> Key: QPID-246
> URL: https://issues.apache.org/jira/browse/QPID-246
> Project: Qpid
> Issue Type: Improvement
> Components: Dot Net Client
> Environment: .NET 1.1
> Reporter: Tomas Restrepo
> Priority: Minor
> Attachments: QPID-246-2.diff, SerializableExceptions.diff
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira