If the XML parser sees a null character in its input, it throws an exception and stops processing.
如果XML 分析程序在其输入中看到一个空字符,它就会发出异常并停止处理。
Whenever the actual code encounters any type of error, it throws an exception, which then goes to the call stack.
每当实际代码碰到任何类型的错误,它就抛出一个异常,然后该异常就进入调用栈。
This operation throws an exception.
该操作将抛出一个异常。
If you can't, declare that the enclosing method itself throws the exception.
如果不能,那么声明包装方法本身抛出异常。
It throws an exception if it finds any nested elements.
如果遇到嵌套的元素就会抛出异常。
For debug builds it throws an exception, but for release builds it may silently leak memory.
在调试编译时它会抛出一个异常,但是在发布编译时它可能无警告地泄漏内存。
But if I say turn this into a float, ah it throws a value error exception.
它就会抛出一个值错误异常了,它会告诉我输入了一种错误的值。
Be sure your script is protected from an error; if the method call fails, it throws an exception.
要确保脚本能够应对错误;如果方法调用失败,它会抛出异常。
XMException XM throws this exception when it encounters an error.
当XM遇到错误时,它抛出这个异常。
Throws a more meaningful exception when calling UniqueResult() with a value type and the query returns null.
当带一个值类型调用UniqueResult()和查询返回null时抛出更有意义的异常
Every method in the class first checks to see if initialized is set and throws an exception if it is not.
该类中的每个方法首先检查是否设置了initialized,如果没有设置则抛出一个异常。
The problem with LeakyBoundedSet doesn't necessarily jump out immediately: What if Set.add throws an exception?
与LeakyBoundedSet有关的问题没有必要马上跳出:如果Set . add抛出一个异常呢?
If your extension function throws an exception, Xalan shuts down.
如果您的扩展函数抛出了一个异常,Xalan将关闭。
The serializer throws an exception for the elements that are in the XML being loaded but were not part of the original schema used to generate the package.
该序列化器为正在加载的XML中的元素抛出一个异常,但是该X ML并不是用来生成包的原始schema的一部分。
If your parser is not JAXP 1.2-compliant, it throws a SAXNotRecognizedException exception when you try to set the property.
如果您的解析器不符合JAXP 1.2,那么当您试图设置该特性时,它会抛出一个SAXNotRecognizedException异常。
The put_file method throws a nasty exception if we attempt to upload to a remote directory which doesn't exist.
当我们试图上载一个并不存在的远程目录的时候,put _ file方法将会抛出一个令人讨厌的异常。
One way to handle this is to provide a public static initialize method that throws a checked exception when initialization fails.
处理这个问题的一种方法是提供一个公共静态initialize方法,初始化失败时该方法将抛出一个检查到的异常。
A test then throws whatever exception the particular TestContext defines.
然后测试抛出TestContext定义的所有异常。
If a data logic method in the UserDefinedPushDownMethodsImpl class throws an exception, you can define and create an instance of the same type of exception inside the method.
如果userdefinedpushdownmethodsimpl类中的数据逻辑方法抛出异常,用户可以在方法内部定义并创建一个与异常具有相同类型的实例。
In this case, ensuring that pop throws an exception if push hasn't been called (or logically, if the stack is empty) means that the stack has a state.
在这种情况下,如果push没有被调用(或者从逻辑上讲,栈为空)的情况下确保pop抛出一个异常,则意味着栈有一个状态。
Because t: : PublicAccess has no control over its environment, it does not use an assertion, but instead throws an exception to preach to its callers about the errors of their ways.
因为T:PublicAccess无法控制其所处的环境,所以它并不使用断言,而是抛出一个异常给它的调用者,而这些调用者处理这个异常的方式也各有千秋。
If the content isn't supported, the code throws an exception, which is caught by the try-catch block.
如果内容不受支持,那么代码抛出一个异常,此异常由try - catch块捕捉到。
The actual exception that the service throws is in the cause field of the ExecutionException instance.
服务引发的实际异常在ExecutionException实例的cause字段中。
Try with an unknown username and/or password to see how SAP throws an exception.
使用未知的用户名和/或密码进行尝试,以了解SAP 如何抛出异常。
The runtime throws an exception if a caller attempts to invoke an invalid operation.
如果调用者试图调用无效的操作,那么运行时将抛出异常。
If it does, and one of the functions throws an exception, the entire process rolls back.
如果发生错误,函数之一抛出异常,那么整个过程回退。
If the next token isn't an integer, the parser throws an exception.
如果下一个记号不是整数,则解析器抛出异常。
If the username and password match the expected values, this just returns; otherwise, it throws an exception to indicate the error.
如果用户名和密码匹配预期值,那么返回即可;否则,将抛出一个异常表示出错。
If it cannot acquire the service, it re-throws the exception it received during its attempt to acquire the service.
如果它不能获得服务,就会重新抛出它在试图获取服务时收到的异常。
This method is useful when parsing element-only content; if it encounters non-white-space text before a tag is found (other than comments or processing instructions), it throws an exception.
该方法在解析只含元素的内容时很有用,如果在发现标记之前遇到非空白文本(不包括注释或处理指令),就会抛出异常。
应用推荐