摘要:try-catchtry-catch 语句由一个 try 块和其后所跟的一个或多个 catch 子句(为不同的异常指定处理程序)构成。此语句会采用下列形式之一:try try-blockcatch (exception-declaration-1) catch-block-1catch (exception-declaration-2) catch-block-2...try try-block catch catch-block其中:try-block包含应引发异常的代码段。exception-declaration, exception-declaration-1, exception-.
阅读全文
posted @ 2012-08-23 16:52
浙公网安备 33010602011771号