The net effect is that a service constructor either returns a non-null instance of the requested service, or throws an exception;
实际结果是服务构造函数或者返回所请求服务的非空实例,或者抛出异常;
If the number is more than or equal to three, it throws an exception.
如果数目大于或等于3,它将抛出一个异常。
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抛出一个异常,则意味着栈有一个状态。
Try with an unknown username and/or password to see how SAP throws an exception.
使用未知的用户名和/或密码进行尝试,以了解SAP 如何抛出异常。
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.
该方法在解析只含元素的内容时很有用,如果在发现标记之前遇到非空白文本(不包括注释或处理指令),就会抛出异常。
The user details service returns details of the user or throws an authentication exception if it cannot find details of the user.
userdetailsservice返回用户的详细信息,或者,如果找不到用户详细信息则抛出身份验证异常。
For example, the fallback buffer for an encoder or decoder exception fallback is not used because the fallback throws an exception instead of producing output.
例如,对于编码器或解码器异常回退,不使用回退缓冲区,因为这种回退将引发异常而不是产生输出。
For example, the fallback buffer for an encoder or decoder exception fallback is never used because the fallback throws an exception instead of producing output.
例如,对于编码器或解码器异常回退,从不使用回退缓冲区,因为这种回退将引发异常而不是产生输出。
If the application supplies a four-digit value that is outside the supported calendar range, or if it supplies a negative value, the method throws an exception.
如果应用程序提供的四位数值不处于受支持的日历范围内,或者它提供了负值,该方法将引发异常。
If the application supplies a four-digit value that is outside the supported calendar range, or if it supplies a negative value, the method throws an exception.
如果应用程序提供的四位数值不处于受支持的日历范围内,或者它提供了负值,该方法将引发异常。
应用推荐