You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rupert Smith (JIRA)" <qp...@incubator.apache.org> on 2007/01/05 11:24:27 UTC

[jira] Commented: (QPID-246) Custom Exception types should be serializable

    [ https://issues.apache.org/jira/browse/QPID-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462452 ] 

Rupert Smith commented on QPID-246:
-----------------------------------

Tried the patch. Looks fine. Will get someone to commit it.

> 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: 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