VC++ã«ã¯2種é¡ã®ä¾å¤ãåå¨ããã æ§é åä¾å¤ï¼Windowsåºæã®ä¾å¤ SEH ï¼ Structured Exception Handling ï¼ C++ä¾å¤ ã®ï¼ã¤ã§ããã æ§é åä¾å¤ æ§é åä¾å¤ãææããã«ã¯VC++ç¬èªæ¡å¼µã§ãã__try{}__except(){}æ§æãç¨ããã __try{}__except(){}以å¤ã«__try{}__finally{}ãªã©ãç¨æããã¦ããã ãã®ä¾å¤ãå¦çãããã¨ã§ã¢ã¯ã»ã¹ãã¤ãªã¬ã¼ã·ã§ã³ãªã©ã®Runtimeã¨ã©ã¼ãæ¤åºãããã¨ãã§ããã æ示çã«ä¾å¤ãçºçããã«ã¯APIã®RaiseExceptionãå¼ã³åºãã C++ä¾å¤ C++ä¾å¤ã¯ãã®ã¾ã¾ãªã®ã§èª¬æã¯çç¥ã C++ä¾å¤ã§æ§é åä¾å¤ãææããã«ã¯catch(...)ã¨ããã°è¯ãã VC++ã«ã¯æ§é åä¾å¤ãC++ä¾å¤ã«å¤æããããã®æ©æ§ãç¨æããã¦ããã _set_se_transla
{{#tags}}- {{label}}
{{/tags}}