[ExceptionCatchAttribute] public class ExceptionTest : ContextBoundObject { [CatchException("testhandler")] public void testexception() { throw new Exception("test exception"); } public void testhandler( Exception e) { Console.WriteLine(e.Message); } }