Exception Guidance

Apr 1, 2008 at 11:51 AM
Hi,

What's the guidance around exceptions that pass across the isolation boundary? Suppose I have a service in the host that can throw an exception. Assuming my exception class is serializable, that exception will be marshalled across to the add-in AppDomain. But in order for the add-in to explicitly catch that exception, it needs to reference it at compile-time.

Where should I put such exception classes? In the contracts assembly? Or in some other shared assembly?

Thanks,
Kent
Apr 19, 2008 at 11:11 PM
I'd also like to know how we should handle this... Is there any way to adapt a custom exception?
Sep 29, 2008 at 2:51 PM
Hi there,

Did anyone get an answer to this?  I'd like to be able to pass exceptions across, but it looks like I'll have to write adapters for the custom exceptions that I'd like to use.  The pipeline builder doesn't seem to like exceptions in the contract assembly, so it'd have to be a manual process.