2010年1月27日 星期三

Throwing an exception cause process terminate in c++

If the function signature specify A exception, and the function implementation throws B exception, The process will fail event it explicitly catch exception B. However, if the function signature didn't specify anything about exceptiot, the exception throw by the function won't make the entire process crash.

沒有留言: