Just a quick question about Traps.
Do you attach the Trap to the top most pipe to catch all, or do I have to attach to specific sub assemblies as well?
For example:
{
Pipe top = new Pipe("top");
Pipe other = new SomeSubAssembly( top, ... )
Pipe more = new SomethingElse( other, ... );
}
What I'm finding is that attaching the trap to "top" does not catch errors from "other" or "more"
I thought I understood how this worked, but maybe not. I also may have made a mistake somewhere.. But I wanted to get clarification if it _should_ catch errors for everything under top?
-JD