Exception Guidance

Apr 1, 2008 at 12:51 PM

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?

Apr 20, 2008 at 12:11 AM
I'd also like to know how we should handle this... Is there any way to adapt a custom exception?
Sep 29, 2008 at 3: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.