Ray's playground

 

Exception Handling(Chapter 14 of The C++ Programming Language)

  As for functions, the ellipsis ... indicates ‘‘any argument’’, so catch(...) means ‘‘catch any exception.’’

  Throwing or catching an exception affects the way a function relates to other functions. It can therefore be worthwhile to specify the set of exceptions that might be thrown as part of the function declaration. 

posted on 2010-08-05 23:31  Ray Z  阅读(155)  评论(0编辑  收藏  举报

导航