using System;
void MethodWithException() {
try {
throw new Exception("test exception");
}
catch (Exception e) {
//Любая частичная обработка
//и передача ошибки вызывающему коду
Console.WriteLine(e.ToString());
throw;
}
}
try {
MethodWithException();
}
catch (Exception e) {
Console.WriteLine(e.Message);
}