philiplaureano/LinFu

LinFu.IoC.ServiceNotFoundException is not serializable

Closed this issue · 4 comments

LinFu.IoC.ServiceNotFoundException (and possibly other linfu exceptions?) is not serializable. This causes problems when linfu is used by objects exposed through remoting.

The ServiceNotFoundException class has been marked as serializable for a long time now. Were you referring to the NamedServiceNotFoundException class? In any case, I have marked it as serializable. Try it out and let me know if it helps. Thanks

Hmmm..Entirely possible it's NamedServiceNotFoundException. I have unit tests for a remote object that uses both named & unnamed services. My brain may have misread it; sadly I no longer have the test output to check and I've fixed the bug. However I will pull down the source & test.

Thanks.

Yep looks like I got the name wrong, it was the named exception. Works now thanks.