Well there is no out-of box solution from Microsoft. You can handle exceptions at application level but not at class level.
But there are still ways around to do everything. For example with Custom Attributes, You can create custom attributes yourself
http://msdn.microsoft.com/en-us/library/sw480ze8.aspx
If you don't want to create custom attribute yourself there is a existing library out there to help you out called PostSharp that you can configure using attributes on the methods/class
[Serializable]
public class GeneralExceptionAttribute : OnExceptionAspect
{
public override void OnException(MethodExecutionArgs args)
{
Console.WriteLine(args.Exception.Message);
}
}
Then you can also apply the attribute to the whole class, like this:
[GeneralException]
public class YourClass
{
// ...
public string DoSomething(int param) {
// ...
}
}