trycatch

trycatchtrycatch
  1. You can catch exceptions with TryCatch , for example

    你可以使用TryCatch来捕获异常,如下所示

  2. If you do have a TryCatch the exception is caught and your code is allowed to continue processing .

    如果你设置一个TryCatch,异常就会被捕获,你的代码可以继续执行。

  3. If the value returned is an empty handle , and you do not have a TryCatch in place , your code must bail out .

    如果返回值是一个空句柄,并且你没有正确的设置TryCatch,你的代码就会崩溃。