例如,可以在回调基类中实现错误处理方法,让所有回调都可以使用它,从而确保以一致的方式处理所有远程服务异常。
For example, an error handling method can be implemented in a callback base class so that it can be used by all callbacks to ensure all remote service exceptions will be handled consistently.
应用程序开发人员通过它避免了与远程Web服务调用相关的复杂事务错误和超时处理。
It shields application developers from the complexity of transaction error and timeout handling related to remote Web services invocation.
您正在将远程调用封装在一个服务器端控制器中,因此可以在这里加强错误处理。
You're encapsulating the remote call in a server-side controller, so you might choose to do some more extensive error correction there.
应用推荐