我知道这可能有点奇怪,但毕竟怀疑就是怀疑... 在以下情况下会发生什么...
(接下来的内容需要IT技术背景)
private void SendMail()
{
try
{
//i try to send a mail and it throws an exception
}
catch(Exception ex)
{
//so i will handle that exception over here
//and since an exception occurred while sending a mail
//i will log an event with the eventlog
//All i want to know is what if an exception occurs here
//while writing the error log, how should i handle it??
}
}
谢谢您。