查询
1 词典释义:
throwable
时间: 2025-06-28 21:48:47

可投掷的

双语例句
  • First, the throwable property is not a supported JAX-RPC type.

    首先,throwable属性不是JAX - RPC支持的类型。

  • I use the method GWT.log , which takes a string and a Throwable as arguments.

    我使用GWT . log方法,该方法使用字符串和Throwable作为参数。

  • Void failed (Throwable e, a attachment) executes if the task fails to complete due to Throwable e.

    void failed (Throwable e, a attachment)在任务由于Throwable e而失败时执行。

  • There's only one method to implement: public Object invoke (MethodInvocation invocation) throws Throwable.

    要实现的方法只有一个:public Object invoke (MethodInvocation invocation) throws Throwable。

  • If the specified object is an instance of Throwable, it becomes the cause of the newly constructed assertion error.

    如果该指定对象是Throwable的实例,它将导致创建一个新的断言错误。

  • But the exception parameter t is declared as a Throwable, and Throwable cannot be thrown from foo unless the throws clause is modified.

    但是异常参数t被声明为Throwable,且如果没有修改throws子句,则Throwable不能从foo中抛出。

  • The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.

    Exception类和它的子类都是Throwable的一种形式,表示这种情况可以在合理的应用中进行捕获。

  • Also note that the invoke method declares that it throws Throwable, so you either must catch it or let your testing framework handle it, as I've done.

    还请注意invoke方法声明它要throws Throwable,必须捕获异常或者让测试框架处理它,就像我做的那样。

  • I've also added throwable handling to the basic timing code, so that when a method exits through a throw rather than a normal return the basic thrown information will be included in the trace.

    我还在基本计时代码中增加了一个throwable处理,这样,当方法由于一个抛出而退出而不是正常返回时,在跟踪中就会加入基本抛出信息。