Convert the database's result for an invalid symbol, such as an empty query result, into the error the service expects.
将数据库针对无效代码的输入结果(如空查询结果)转换为服务希望的错误。
If one is not seen, the dummy value of -999.99F is sent back to the method consumer, which interprets the dummy value as a call for an invalid stock symbol.
如果没有发现一个输出,则将dummy值 -999.99F返回给方法使用方,将 dummy 值解释为对无效股票代码的调用。
Similar to a synchronous invocation, InvalidSymbolException indicates that the request has reached the service provider, which has thrown a business exception stating that the symbol is invalid.
与同步调用类似,InvalidSymbolException指示请求已到达服务提供程序,该提供程序抛出业务异常,指示符号无效。
The service provider then throws a business exception stating that the symbol supplied is invalid.
服务提供程序然后抛出业务异常,指示提供的符号无效。
Invoke simple quote with BOGUS and verify that you get back an invalid stock symbol error.
使用BOGUS调用simplequote,以验证获得的结果是invalidstocksymbol错误。
After this call, the symbol writer becomes invalid for further updates.
进行此调用后,符号编写器将无效,无法进行进一步的更新。
After this call, the symbol writer becomes invalid for further updates.
进行此调用后,符号编写器将无效,无法进行进一步的更新。
应用推荐