C与C++中的异常处理17[13]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 taodm 的 blog

      case exception_int_divide_by_zero:

      case exception_flt_divide_by_zero:

         throw divide_by_zero(*info);

         break;

      default:

         throw structured_exception(*info);

         break;

      }

   }

 

//

//  structured_exception::

//

structured_exception::structured_exception

      (exception_pointers const &info) throw()

   {

   exception_record const &exception = *(info.exceptionrecord);

   address_ = exception.exceptionaddress;

   //code_ = exception.exceptioncode;

   }

 

本文关键:异常
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top