throw an exception
常見例句
- But why throw an exception?
但是為什么拋出一個(gè)異常呢? - Unless you change this property, a command that runs for over 30 seconds will time out and throw an exception.
除非更改此屬性,否則運(yùn)行 30 秒后,命令就會超時(shí),并且將拋出一個(gè)異常。 - This response should throw an exception because the temperature value is not a float type -- it is actually a string.
這個(gè)響應(yīng)會拋出一個(gè)異常,因?yàn)闇囟鹊闹挡皇歉↑c(diǎn)類型 ― 它實(shí)際上是一個(gè)字符串。 - The NSTextAlignmentNatural value is unsupported and will throw an exception when used with the textAlignment property of UILabel or supplied as the alignment parameter to the drawInRect:withFont:lineBreakMode:alignment: method of NSString.
ENGADGET: Apple seeds iOS 6 beta 4 to developers: here's the changelog 返回 throw an exception