在异常声明中,如果发生一个SQLException异常,那么控制流程就会被重定向到exception. jsp文件。
In the exception declaration, if an SQLException occurs, the control will be redirected to exception.jsp. Our exception.jsp.
这些信息可能是一系列的声明、异常事件、或是事务特性。
This information might be a set of declarations, exceptional events, or transactional properties.
如果不能,那么声明包装方法本身抛出异常。
If you can't, declare that the enclosing method itself throws the exception.
另外,对于每种可能出现的异常的响应是不做任何事,但是CONTINUEHANDLER声明需要一个完整的sql语句;因此使用伪赋值。
Also, the response to each of the anticipated exceptions is to do nothing, but the CONTINUE HANDLER declaration expects a complete SQL statement; hence the dummy assignment.
注意,伪变量声明已经没有了:不再需要它是因为现在在异常处理函数中有了实际的语句。
Note that the dummy variable declaration has disappeared: you don't need it because you now have an actual statement in the exception handler.
除声明的业务异常外,客户端还可以接收系统异常,如发送消息时发生的连接错误。
In addition to the business exception declared, the client can receive system exceptions such as connection error that happens while sending the message.
除声明的业务异常外,客户端还可以接收系统异常。
In addition to the business exception declared, the client can receive system exceptions.
这个属性可以告诉编译器,使用该属性声明的函数以及它调用的后续函数都不会引发异常。
This attribute is a hint to the compiler that the function declared with this attribute and the subsequent functions it calls do not throw an exception.
SCA并不定义对返回值或声明要引发异常的方法的非阻塞调用的机制。
SCA does not define a mechanism for making non-blocking calls to methods that return values or are declared to throw exceptions.
某些是惯例:在初次使用时声明;在不知道如何处理错误时抛出异常。
Some of them have reason for the convention: Declare variables at point of first use; throw exceptions when you don't know what to do with them.
单击“Finish”之后,异常就被声明了。
应该小心地返回适当类型的值,并且只抛出由方法声明的异常;否则,Proxy实现将抛出一个RuntimeException。
You should take care to return a value of the right type and to only throw exceptions declared by the method; otherwise, the Proxy implementation will raise a RuntimeException.
对于方法调用指令,可以使用BytecodeEngineeringLibrary (BCEL)类来提取方法声明抛出的已检查异常的类型。
For the method call instructions, you use Bytecode Engineering Library (BCEL) classes to extract the types of checked exceptions the method is declared to throw.
但是异常参数t被声明为Throwable,且如果没有修改throws子句,则Throwable不能从foo中抛出。
But the exception parameter t is declared as a Throwable, and Throwable cannot be thrown from foo unless the throws clause is modified.
如果在处理jsp页面时有一个异常抛出的话,exception对象就会立即通过隐式声明的exception变量的方式抛给指定的错误页面。
Whenever an exception is thrown while processing your JSP page, the exception object will immediately be thrown to the designated error page by means of the implicitly declared exception variable.
所有脚本引擎eval方法都声明抛出一个ScriptException,因此我们的代码需要适当处理这些异常。
All script-engine eval methods declare they throw a ScriptException, so your code needs to handle it appropriately.
还请注意invoke方法声明它要throws 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.
声明说,[gm 66nd]做出重新评估在华业务的决定是异常艰难的,而且这可能带来非常深远的影响。
's decision to review its business operations in China' has been incredibly hard, 'the statement said.' it will have potentially far-reaching consequences. '.
异常行为的声明是上下文定义的一部分,并与异常进行关联,使用一些Web服务执行的行为以回应异常。
The declaration of exceptional behavior is part of the context definition and associate exceptions, with a set of activities that the web service performs in response to those exceptions.
惰性:如果没有声明队列,那么在执行到使用的时候会导致异常,并不会主动声明。
Passivity: this will not declare the queue but will cause an exception if no such queue is present.
此业务异常就是方法签名声明的唯一异常。
This business exception is the only one declared by the method signature.
此业务异常就是接口声明的唯一异常。
This business exception is the only one declared by the interface.
惰性:如果没有声明交换器,那么在执行到使用的时候会导致异常,并不会主动声明。
Passivity: this will not declare the exchange but will cause an exception if no such exchange is present.
为此,需要声明一个专门的异常类,指出已经告知结果。
To do that, declare a a special exception class that indicates the result has been signalled already.
使用引入(Introduction),Aspect可以向类中添加新的方法和变量、声明一个类实现一个接口或将检查异常转换为未检查异常(unchecked exception)。
Using introduction, aspects can add new methods and variables to a class, declare that a class implements an interface, or convert checked to unchecked exceptions.
WSCI允许声明异常行为,由Web服务在编排好的点显示出来。
WSCI allows declaring exceptional behavior that is exhibited by a web service at a given point in choreography.
首先,进入Easy Struts功能视图,选择EasyException对异常进行声明。
First, go to the Easy Struts function view and select Easy exception to declare the exception.
当我开发方法的时候,我不得不确保调用验证服务,确保方法实现声明了ValidationException异常。
When I developed the method, I had to be sure to call the validation service and ensure that the method implementation declared its ValidationException.
通常从抽象方法声明的函数体或接口方法声明中引发此异常。
Typically this exception is thrown from the function body of an abstract method declaration or from an interface method declaration.
通常从抽象方法声明的函数体或接口方法声明中引发此异常。
Typically this exception is thrown from the function body of an abstract method declaration or from an interface method declaration.
应用推荐