• Send useful errors through a custom exception class

    通过自定义异常传递有用的错误

    youdao

  • Listing 4 shows a JAX-RPC compliant exception class.

    清单4展示遵循JAX - RPC的异常类。

    youdao

  • For example, Listing 3 shows an unsupported exception class.

    举例来说,清单3展示不支持异常类。

    youdao

  • This is a generic PHP exception class that is caught in PHP scripts.

    php脚本捕获通用php异常

    youdao

  • ET exception, your new exception class should inherit from one of the.

    et异常的异常应该一个

    youdao

  • For example, to refer to PHP Exception class, you would use $error = new \Exception();.

    例如,要引用PHPException应该使用 $error =new \Exception();。

    youdao

  • Select the GraphicException class as the exception to add. (See Figure 11 and Figure 12.)

    选择graphicexception作为添加异常(参见1112。)

    youdao

  • To do that, declare a a special exception class that indicates the result has been signalled already.

    为此需要声明专门异常指出已经告知结果

    youdao

  • Adding a constructor or two for each exception class rarely takes more than a few minutes per exception.

    对于异常每个异常添加一个两个构造器所花费时间很少不超过分钟

    youdao

  • To see how this works, begin by creating a custom exception class that extends Zend_Exception, as in Listing 13.

    了解如何工作的,我们要通过扩展Zend_Exception创建一个自定义异常清单13所示?

    youdao

  • For instance, Axis 1.4 generates a custom exception class, but it is never thrown at runtime by the Web service.

    例如Axis 1.4生成了一个自定义异常但是Web服务运行时决不会抛出异常。

    youdao

  • Spring's data access facilities automatically translate data-access exceptions into this exception class hierarchy.

    Spring数据访问功能自动将数据访问异常转换为此异常层次结构

    youdao

  • The exception class that is thrown should be the most specific exception available that fits the error conditions.

    引发异常应该符合错误条件确切的可用异常。

    youdao

  • All you need to do is have the custom exception class extend the exception class and implement the IsSerializable interface.

    只需让定制异常扩展exception实现IsSerializable接口

    youdao

  • Checked exceptions inherit from exception class and are used to handle recoverable errors such as business error scenarios.

    已检查异常继承exception用于处理可恢复性出错诸如业务出错场景。

    youdao

  • Spring defines a coherent data access exception class hierarchy (Figure 12) that you can use as a basis for your service- and DAO-layer exceptions.

    Spring定义一致数据访问异常层次结构(请参见图12),可以将其用作服务DAO 层异常的基础

    youdao

  • When the user sees an error message, it is derived from the description string of the exception that was thrown, rather than from the exception class.

    用户看到错误消息时,消息引发异常描述字符串派生不是从异常类派生。

    youdao

  • For example, they can help you test your custom Exception class, verify that your datatype's Equals & GetHashCode are consistent, and check IList invariants.

    例如可以测试定义的异常验证自定义类型Equals和GetHashCode方法是否一致以及检查IList的不变性。

    youdao

  • This exception class is also used by providers to throw exceptions when internal errors occur within the provider that do not map to other pre-existing exception classes.

    如果提供程序发生内部错误没有映射其他已存在异常,则提供程序使用异常来引发异常。

    youdao

  • This exception is thrown during the verification stage of the linking phase of class loading.

    这个异常装入链接阶段校验过程抛出

    youdao

  • In this class, you define what the client page does with the data (or the exception) when the server is done.

    这个中,定义服务器操作完成客户机页面如何处理数据(异常)。

    youdao

  • The handler attribute specifies the class which is asked to handle this exception when it occurs.

    这个异常属性指明了当发生这个异常调用处理这个异常

    youdao

  • Another way of handling this problem would be to throw an exception whenever a run-time instantiation of the generic class does not include a needed constructor.

    处理问题另一种方法只要泛型运行时实例化没有包括所需构造函数抛出异常

    youdao

  • Throw an exception whenever a run-time instantiation of the generic class does not include a needed constructor.

    只要泛型运行时实例没有包括所需的构造函数,就抛出异常

    youdao

  • In class society everyone lives as a member of a particularclass, and every kind of thinking, without exception, is stamped with the brand of a class.

    阶级社会一个人都一定阶级地位中生活各种思想无不打上阶级的烙印

    youdao

  • Now, if you try to fetch the last element as a JButton, a class cast exception happens at run time

    现在如果尝试最后元素作为JButton 来提取,则运行时会出现一个转换异常

    youdao

  • Typical join points in AspectJ include method calls, access to class members, and the execution of exception handler blocks.

    AspectJ典型joinpoint包括方法调用成员访问以及异常处理程序执行

    youdao

  • To make the Mortgage Calculator user-friendly, I put an exception in the original MortgageCalculator class.

    为了使抵押计算器具有友好的用户界面,最初MortgageCalculator中加入异常(处理)。

    youdao

  • The handler uses a support class LoggingWindow, which puts the exception up on the screen.

    处理程序使用了一个支持LoggingWindow ,该类将异常显示屏幕上

    youdao

  • The handler uses a support class LoggingWindow, which puts the exception up on the screen.

    处理程序使用了一个支持LoggingWindow ,该类将异常显示屏幕上

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定