try { SomeObject.DoSomething(); } catch (Exception ex) { SomeExceptionHandlingFunction(ex); }
ExecuteWithTryCatch(() => SomeObject.DoSomething());