... ---- 第六章 HANDLE EXCEPTION ---- ---- 第七章 SUB PROGRAM ---- ---- 第八章 PACKAGE ---- ...
基于1个网页-相关网页
I don't handle exception cases here, because it's just example code, but the Ajax code you ship should handle requests that return errors.
这里没有处理异常情况,因为这仅仅是一个例子,不过发布的Ajax代码应该处理返回错误的请求。
Handle each exception specifically.
专门处理每个异常。
The handler attribute specifies the class which is asked to handle this exception when it occurs.
这个异常属性指明了当发生这个异常时被调用来处理这个异常的类。
I'm going to throw it, or raise it, to use the right term to somebody in case they can handle it, but it's a particular kind of exception I might do something like, remind you I have test.
编译器就要抛出他或者提出它,用正确的描述给某个人来处理,但他的确是一种异常,我来做些类似的事情,告诉你我有些测试。
What does that say? It says if in the code up here I get an exception of that sort, I'm going to go to this place to handle it.
这意味着如果在代码中,我得到一个这样的异常,我能到这里来处理它。
应用推荐