这是因为异常字符串是指向一个字符串,破坏了曾经的异常处理程序完成。
It's because the exception string is pointing to a string which destroyed once the exception handler is done.
这个响应会抛出一个异常,因为温度的值不是浮点类型—它实际上是一个字符串。
This response should throw an exception because the temperature value is not a float type — it is actually a string.
通过标准路径将文件转换成字符串才会导致异常。
The exception is caused by converting files into strings via canonical paths.
我说,“我把你们的论文放到一个寻找异常匹配字符串的程序里检查了。”
I said, "I ran your papers through a program that looks for unusual matching strings."
如果字符串不能为空或者必须为特定格式,请检查格式并抛出异常。
If the string can't be empty or must be in a specific format, check for the format and throw an exception.
这个方法返回HTTP响应中的内容字符串,在失败时抛出定制的异常。
The method returns a string of content from the HTTP response and throws a custom exception in the case of a failure.
在Datatable中选中“title”,在属性栏里将“NullValue”的值更改为“(Empty)”-这样做是为了在没有与“title”对应的数据时,把title做为一个空字符串来对待,以此替换抛出异常。
Select "title" in the table, and in the property grid change "NullValue" to "(empty)" - that is, treat the title as the empty string whenever no data exists for it, instead of throwing an exception.
向TopType方法中手工添加异常处理代码,保证只能提供可以转化成布尔值的字符串。
Manually add exception handling to the TopType methods to ensure only string values that can be converted to booleans are supplied.
如果将这个值设置为null或空字符串,clp会抛出JCC异常:Columnnot updatable。
If this value is set to null or empty string, CLP throws a JCC exception: Column not updatable.
这意味着参数依次是int 、char* (s 表示字符串)和 int ; 而且如果抛出一个异常,则该函数称作 TrayIcon.send_message 。
send_message; this means that the parameters are an int, a char* (s for string), and an int; and that if an exception is thrown, the function is called TrayIcon.send_message.
当应用程序试图通过类的字符串名称,使用以下三种方法装入类,但却找不到指定名称的类定义时抛出该异常。
Thrown when an application tries to load in a class through its string name using
这种方法的一个问题在于它需要XXL(这是一个给c添加异常处理和资源管理支持的库),因此您实际上要仅为了处理字符串而引入一个重要的库。
One issue is that it requires XXL (a library that adds support for exception handling and asset management to c), so you do bring in significant libraries just to handle strings.
与字符串相关的一些典型的检查,会验证空字符串的长度是否为 0,访问范围超出索引是否导致错误消息或异常,等等。
Some of the typical string-related checks would validate whether an empty string has 0 length, accessing out-of-index results in an error message or exception, and so on.
对于这些情形,可添加一条异常规则,将部件指示器处理为令牌中的子字符串。
For such cases, an exception rule can be added for processing part indicators as substrings in tokens.
与字符串相关的典型检查包括检查空字符串的长度是否为 0以及访问范围超出索引是否导致错误消息/异常。
Some of the typical string-related checks include verifying that an empty string has 0 size and accessing out of index from the string results in an error message/exception.
所有的脚本语言都试图使字符串的使用变得异常简单。
All scripting languages attempt to make string usage exceptionally easy.
在异常的描述字符串中,每个句子都应以句号结尾。
Each sentence in a description string of an exception should end in a period.
仅当存在附加信息有用的编程方案时,才在异常中包含附加信息(不包括描述字符串)。
Include extra information in an exception (in addition to the description string) only when there is a programmatic scenario where the additional information is useful.
如果没有找到有具体指定名称的连接字符串,就会抛出一个异常。
If no connection string is found with the specified name, an exception is thrown.
字符串表示形式的格式必须与指定的格式完全匹配,否则会引发异常。
The format of the string representation must match a specified format exactly or an exception is thrown.
详细信息是个字符串,描述此特定异常。
A detail message is a String that describes this particular exception.
当用户看到错误消息时,该消息从引发的异常的描述字符串派生,而不是从异常类派生。
When the user sees an error message, it is derived from the description string of the exception that was thrown, rather than from the exception class.
每个异常都由错误代码和描述错误起因的文本字符串组成。
Every exception consists of an error code and a text string that describes the source.
在线程“主要”数字格式异常例外:输入字符串:”;
Exception in thread "main" java. lang. NumberFormatException: For input string: ";
在线程“主要”数字格式异常例外:输入字符串:”;
Exception in thread "main" java. lang. NumberFormatException: For input string: ";
应用推荐