title: ASP.NET C# Catch all exceptions in a class
body: <p>I know this is not the way to do it, and it isn't clean at all. I just wonder if it's possible.</p>
  
  <p>If I have a class with a bunch of methods</p>
  
  <pre><code>public class Foo {
  
     methodA() {}
  
     methodB() {}
  
     methodC() {}
  
  }
  </code></pre>
  
  <p>Is it possible to catch all exceptions that could possibly occur without having to write a try/catch in each method?</p>